public abstract class AbstractBinPushConsumer extends AbstractBinDataConsumer implements AsyncPushConsumer
| Constructor and Description | 
|---|
| AbstractBinPushConsumer() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | consumePromise(HttpRequest promise,
              HttpResponse response,
              EntityDetails entityDetails,
              HttpContext context) | 
| void | failed(Exception cause) | 
| protected abstract void | start(HttpRequest promise,
     HttpResponse response,
     ContentType contentType)Triggered to signal the beginning of response processing. | 
capacityIncrement, completed, consume, data, streamEnd, updateCapacityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconsume, streamEnd, updateCapacityreleaseResourcesprotected abstract void start(HttpRequest promise, HttpResponse response, ContentType contentType) throws HttpException, IOException
response - the response message headcontentType - the content type of the response body,
                    or null if the response does not enclose a response entity.HttpExceptionIOExceptionpublic final void consumePromise(HttpRequest promise, HttpResponse response, EntityDetails entityDetails, HttpContext context) throws HttpException, IOException
consumePromise in interface AsyncPushConsumerHttpExceptionIOExceptionpublic void failed(Exception cause)
failed in interface AsyncPushConsumerCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.