| Modifier and Type | Field and Description |
|---|---|
| private volatile T | |
| private volatile FutureCallback |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected final void | completed()
Implements abstract org. |
| public final void | failed(final Exception
the cause of the failure. cause)Implements org. |
| protected abstract T | |
| public final T | getContent()
Implements org. null
if the entity is still being received.
|
| protected abstract void | streamStart(ContentType
the entity content type contentType)Triggered to signal beginning of entity content stream. |
| public final void | streamStart(final EntityDetails
the details of the incoming message entity. entityDetails, final FutureCallback<T> the result callback. resultCallback)Implements org. |
| content | back to summary |
|---|---|
| private volatile T content | |
| resultCallback | back to summary |
|---|---|
| private volatile FutureCallback<T> resultCallback | |
| AbstractBinAsyncEntityConsumer | back to summary |
|---|---|
| public AbstractBinAsyncEntityConsumer() | |
| completed | back to summary |
|---|---|
| protected final void completed() throws IOException Implements abstract org. Doc from org. Triggered to signal completion of data processing.
| |
| failed | back to summary |
|---|---|
| public final void failed(final Exception cause) Implements org. Doc from org. Triggered to signal a failure in data processing. | |
| generateContent | back to summary |
|---|---|
| protected abstract T generateContent() throws IOException Triggered to generate entity representation.
| |
| getContent | back to summary |
|---|---|
| public final T getContent() Implements org. Doc from org. Returns the result of entity processing when it becomes available or
| |
| streamStart | back to summary |
|---|---|
| protected abstract void streamStart(ContentType contentType) throws HttpException, IOException Triggered to signal beginning of entity content stream.
| |
| streamStart | back to summary |
|---|---|
| public final void streamStart(final EntityDetails entityDetails, final FutureCallback<T> resultCallback) throws IOException, HttpException Implements org. Doc from org. Signals beginning of an incoming request entity stream.
| |