public final class SimpleResponseConsumer extends AbstractAsyncResponseConsumer<SimpleHttpResponse,byte[]>
SimpleHttpResponse instance based on events
of an incoming data stream.SimpleBody| Modifier and Type | Method and Description |
|---|---|
protected SimpleHttpResponse |
buildResult(HttpResponse response,
byte[] entity,
ContentType contentType) |
static SimpleResponseConsumer |
create() |
void |
informationResponse(HttpResponse response,
HttpContext context) |
consume, consumeResponse, failed, getException, getResult, releaseResources, streamEnd, updateCapacitypublic static SimpleResponseConsumer create()
public void informationResponse(HttpResponse response, HttpContext context) throws HttpException, IOException
HttpExceptionIOExceptionprotected SimpleHttpResponse buildResult(HttpResponse response, byte[] entity, ContentType contentType)
buildResult in class AbstractAsyncResponseConsumer<SimpleHttpResponse,byte[]>Copyright © 1999–2018 The Apache Software Foundation. All rights reserved.