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