java.lang.Object | |||
↳ | com.ning.http.client.HttpContent | ||
↳ | com.ning.http.client.HttpResponseBodyPart | ||
↳ | com.ning.http.client.providers.grizzly.GrizzlyResponseBodyPart |
HttpResponseBodyPart
implementation using the Grizzly 2.0 HTTP client
codec.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return true of the underlying connection will be closed once the response has been fully processed.
| |||||||||||
Return a ByteBuffer that wraps the actual bytes read from the response's chunk.
| |||||||||||
Return the response body's part bytes received.
| |||||||||||
Return true if this is the last part.
| |||||||||||
Close the underlying connection once the processing has completed.
| |||||||||||
Write the available bytes to the java.io.OutputStream
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Return true of the underlying connection will be closed once the response has been fully processed.
Return a ByteBuffer that wraps the actual bytes read from the response's chunk. The ByteBuffer capacity is equal to the number of bytes available.
Return the response body's part bytes received.
Return true if this is the last part.
Close the underlying connection once the processing has completed. Invoking that method means the underlying TCP connection will be closed as soon as the processing of the response is completed. That means the underlying connection will never get pooled.
Write the available bytes to the java.io.OutputStream
IOException |
---|