public interface HttpResponseBodyPart
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
getBodyByteBuffer() |
byte[] |
getBodyPartBytes() |
boolean |
isLast() |
boolean |
isUnderlyingConnectionToBeClosed() |
int |
length() |
void |
markUnderlyingConnectionAsToBeClosed()
Close the underlying connection once the processing has completed.
|
int length()
byte[] getBodyPartBytes()
ByteBuffer getBodyByteBuffer()
ByteBuffer
that wraps the actual bytes read from the response's chunk.
The ByteBuffer
's capacity is equal to the number of bytes available.boolean isLast()
void markUnderlyingConnectionAsToBeClosed()
boolean isUnderlyingConnectionToBeClosed()
Copyright © 2015. All Rights Reserved.