| Modifier and Type | Field and Description |
|---|---|
| private final ByteArrayBuffer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected int | capacityIncrement()
Implements abstract org. |
| protected void | data(final ByteBuffer
the data packet. src, final boolean flag indicating whether this data packet is the last in the data stream. endOfStream)Implements abstract org. |
| protected byte[] | generateContent()
Implements abstract org. |
| public void | |
| protected void | streamStart(final ContentType
the entity content type contentType)Implements abstract org. |
| buffer | back to summary |
|---|---|
| private final ByteArrayBuffer buffer | |
| SimpleAsyncEntityConsumer | back to summary |
|---|---|
| public SimpleAsyncEntityConsumer() | |
| capacityIncrement | back to summary |
|---|---|
| protected int capacityIncrement() Implements abstract org. Doc from org. Triggered to obtain the capacity increment.
| |
| data | back to summary |
|---|---|
| protected void data(final ByteBuffer src, final boolean endOfStream) throws IOException Implements abstract org. Doc from org. Triggered to pass incoming data packet to the data consumer.
| |
| generateContent | back to summary |
|---|---|
| protected byte[] generateContent() throws IOException Implements abstract org. Doc from org. Triggered to generate entity representation.
| |
| releaseResources | back to summary |
|---|---|
| public void releaseResources() Implements org.
| |
| streamStart | back to summary |
|---|---|
| protected void streamStart(final ContentType contentType) throws HttpException, IOException Implements abstract org. Doc from org. Triggered to signal beginning of entity content stream.
| |