public abstract class AbstractCharPushConsumer
extends AbstractCharDataConsumer
| Constructor and Description |
|---|
AbstractCharPushConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
consumePromise(HttpRequest promise,
HttpResponse response,
EntityDetails entityDetails,
HttpContext context) |
void |
failed(java.lang.Exception cause) |
protected abstract void |
start(HttpRequest promise,
HttpResponse response,
ContentType contentType)
Triggered to signal the beginning of data processing.
|
protected abstract void start(HttpRequest promise,
HttpResponse response,
ContentType contentType)
throws HttpException,
java.io.IOException
response - the response message headcontentType - the content type of the response body,
or null if the response does not enclose a response entity.HttpExceptionjava.io.IOExceptionpublic final void consumePromise(HttpRequest promise,
HttpResponse response,
EntityDetails entityDetails,
HttpContext context)
throws HttpException,
java.io.IOException
HttpExceptionjava.io.IOExceptionpublic void failed(java.lang.Exception cause)