public class AsyncResponseConsumer extends org.apache.http.nio.protocol.AbstractAsyncResponseConsumer<Response>
| Modifier and Type | Method and Description |
|---|---|
protected BaseResponse |
buildResult(org.apache.http.protocol.HttpContext context) |
protected org.apache.http.entity.ContentType |
getContentType(org.apache.http.HttpEntity entity) |
protected void |
onContentReceived(org.apache.http.nio.ContentDecoder decoder,
org.apache.http.nio.IOControl ioctrl) |
protected void |
onEntityEnclosed(org.apache.http.HttpEntity entity,
org.apache.http.entity.ContentType contentType) |
protected void |
onResponseReceived(org.apache.http.HttpResponse httpResponse) |
protected void |
releaseResources() |
protected final org.apache.http.entity.ContentType getContentType(org.apache.http.HttpEntity entity)
getContentType in class org.apache.http.nio.protocol.AbstractAsyncResponseConsumer<Response>protected final void onResponseReceived(org.apache.http.HttpResponse httpResponse)
onResponseReceived in class org.apache.http.nio.protocol.AbstractAsyncResponseConsumer<Response>protected final void onContentReceived(org.apache.http.nio.ContentDecoder decoder,
org.apache.http.nio.IOControl ioctrl)
throws IOException
onContentReceived in class org.apache.http.nio.protocol.AbstractAsyncResponseConsumer<Response>IOExceptionprotected final void onEntityEnclosed(org.apache.http.HttpEntity entity,
org.apache.http.entity.ContentType contentType)
throws IOException
onEntityEnclosed in class org.apache.http.nio.protocol.AbstractAsyncResponseConsumer<Response>IOExceptionprotected final BaseResponse buildResult(org.apache.http.protocol.HttpContext context) throws Exception
protected final void releaseResources()
releaseResources in class org.apache.http.nio.protocol.AbstractAsyncResponseConsumer<Response>Copyright © 2019. All rights reserved.