com.ning.http.client
Class HttpResponseBodyPart

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

public abstract class HttpResponseBodyPart
extends HttpContent

A callback class used when an HTTP response body is received.


Field Summary
 
Fields inherited from class com.ning.http.client.HttpContent
provider, url
 
Constructor Summary
HttpResponseBodyPart(Url url, AsyncHttpProvider<?> provider)
           
 
Method Summary
abstract  byte[] getBodyPartBytes()
          Return the response body's part bytes received.
 
Methods inherited from class com.ning.http.client.HttpContent
getUrl, provider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpResponseBodyPart

public HttpResponseBodyPart(Url url,
                            AsyncHttpProvider<?> provider)
Method Detail

getBodyPartBytes

public abstract byte[] getBodyPartBytes()
Return the response body's part bytes received.

Returns:
the response body's part bytes received.


Copyright © 2010. All Rights Reserved.