public abstract class AbstractBinPushConsumer
extends org.apache.hc.core5.http.nio.entity.AbstractBinDataConsumer
implements org.apache.hc.core5.http.nio.AsyncPushConsumer
| Constructor and Description |
|---|
AbstractBinPushConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
consumePromise(org.apache.hc.core5.http.HttpRequest promise,
org.apache.hc.core5.http.HttpResponse response,
org.apache.hc.core5.http.EntityDetails entityDetails) |
void |
failed(Exception cause) |
protected abstract void |
start(org.apache.hc.core5.http.HttpRequest promise,
org.apache.hc.core5.http.HttpResponse response,
org.apache.hc.core5.http.ContentType contentType) |
capacity, completed, consume, data, streamEnd, updateCapacityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected abstract void start(org.apache.hc.core5.http.HttpRequest promise,
org.apache.hc.core5.http.HttpResponse response,
org.apache.hc.core5.http.ContentType contentType)
throws org.apache.hc.core5.http.HttpException,
IOException
org.apache.hc.core5.http.HttpExceptionIOExceptionpublic final void consumePromise(org.apache.hc.core5.http.HttpRequest promise,
org.apache.hc.core5.http.HttpResponse response,
org.apache.hc.core5.http.EntityDetails entityDetails)
throws org.apache.hc.core5.http.HttpException,
IOException
consumePromise in interface org.apache.hc.core5.http.nio.AsyncPushConsumerorg.apache.hc.core5.http.HttpExceptionIOExceptionpublic void failed(Exception cause)
failed in interface org.apache.hc.core5.http.nio.AsyncPushConsumerCopyright © 1999–2017 The Apache Software Foundation. All rights reserved.