public abstract class HttpResponseBodyPart extends Object
Constructor and Description |
---|
HttpResponseBodyPart(boolean last) |
Modifier and Type | Method and Description |
---|---|
abstract ByteBuffer |
getBodyByteBuffer() |
abstract byte[] |
getBodyPartBytes() |
boolean |
isLast() |
abstract int |
length() |
public abstract int length()
public abstract byte[] getBodyPartBytes()
public abstract 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.public boolean isLast()
Copyright © 2016. All Rights Reserved.