| Modifier and Type | Field and Description |
|---|---|
| private final Charset | |
| private volatile FutureCallback |
| Access | Constructor and Description |
|---|---|
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract T | Returns: the result of response processing.Triggered to generate object that represents a result of response message processing. |
| protected final void | completed()
Implements abstract org. |
| public final void | consumeResponse(final HttpResponse
the response message head. response, final EntityDetails the response entity details or entityDetails, final HttpContext null if the response
does not enclose an entity.the actual execution context. context, final FutureCallback<T> the result callback called when response processing
has been completed successfully or unsuccessfully. resultCallback)Implements org. |
| public void | failed(final Exception
the cause of the failure. cause)Implements org. |
| public void | informationResponse(final HttpResponse
the intermediate (1xx) HTTP response. response, final HttpContext the actual execution context. context)Implements org. |
| protected abstract void | start(HttpResponse
the response message head response, ContentType the content type of the response body,
or contentType)null if the response does not enclose a response entity.Triggered to signal the beginning of data processing. |
| defaultCharset | back to summary |
|---|---|
| private final Charset defaultCharset | |
| resultCallback | back to summary |
|---|---|
| private volatile FutureCallback<T> resultCallback | |
| AbstractCharResponseConsumer | back to summary |
|---|---|
| public AbstractCharResponseConsumer() | |
| AbstractCharResponseConsumer | back to summary |
|---|---|
| protected AbstractCharResponseConsumer(final int bufSize, final CharCodingConfig charCodingConfig) | |
| buildResult | back to summary |
|---|---|
| protected abstract T buildResult() throws IOException Triggered to generate object that represents a result of response message processing.
| |
| completed | back to summary |
|---|---|
| protected final void completed() throws IOException Implements abstract org. Doc from org. Triggered to signal completion of data processing.
| |
| consumeResponse | back to summary |
|---|---|
| public final void consumeResponse(final HttpResponse response, final EntityDetails entityDetails, final HttpContext context, final FutureCallback<T> resultCallback) throws HttpException, IOException Implements org. Doc from org. Triggered to signal receipt of a response message head.
| |
| failed | back to summary |
|---|---|
| public void failed(final Exception cause) Implements org. Doc from org. Triggered to signal a failure in data processing. | |
| informationResponse | back to summary |
|---|---|
| public void informationResponse(final HttpResponse response, final HttpContext context) throws HttpException, IOException Implements org. Doc from org. Triggered to signal receipt of an intermediate (1xx) HTTP response.
| |
| start | back to summary |
|---|---|
| protected abstract void start(HttpResponse response, ContentType contentType) throws HttpException, IOException Triggered to signal the beginning of data processing.
| |