com.ning.http.client
Class HttpContent

java.lang.Object
  extended by com.ning.http.client.HttpContent
Direct Known Subclasses:
HttpResponseBodyPart, HttpResponseHeaders, HttpResponseStatus

public class HttpContent
extends Object

Base class for callback class used by AsyncHandler


Field Summary
protected  AsyncHttpProvider provider
           
protected  URI uri
           
 
Constructor Summary
protected HttpContent(URI url, AsyncHttpProvider provider)
           
 
Method Summary
 URI getUrl()
          Return the request URI
 AsyncHttpProvider provider()
          Return the current AsyncHttpProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

provider

protected final AsyncHttpProvider provider

uri

protected final URI uri
Constructor Detail

HttpContent

protected HttpContent(URI url,
                      AsyncHttpProvider provider)
Method Detail

provider

public final AsyncHttpProvider provider()
Return the current AsyncHttpProvider

Returns:
the current AsyncHttpProvider

getUrl

public final URI getUrl()
Return the request URI

Returns:
the request URI


Copyright © 2014. All Rights Reserved.