class IntegralClient.ResponseConsumer extends org.apache.http.nio.client.methods.AsyncCharConsumer<Boolean>
Modifier and Type | Field and Description |
---|---|
private org.apache.http.HttpRequest |
request |
private ResultListener |
resultListener |
private Integer |
statusCode |
private String |
url |
Constructor and Description |
---|
ResponseConsumer(org.apache.http.HttpRequest request,
String url,
ResultListener resultListener) |
Modifier and Type | Method and Description |
---|---|
protected Boolean |
buildResult(org.apache.http.protocol.HttpContext context) |
protected void |
onCharReceived(CharBuffer buf,
org.apache.http.nio.IOControl ioctrl) |
protected void |
onResponseReceived(org.apache.http.HttpResponse response) |
createDecoder, onContentReceived, onEntityEnclosed, releaseResources
private final org.apache.http.HttpRequest request
private final String url
private final ResultListener resultListener
private Integer statusCode
ResponseConsumer(org.apache.http.HttpRequest request, String url, ResultListener resultListener)
protected void onResponseReceived(org.apache.http.HttpResponse response)
onResponseReceived
in class org.apache.http.nio.protocol.AbstractAsyncResponseConsumer<Boolean>
protected void onCharReceived(CharBuffer buf, org.apache.http.nio.IOControl ioctrl) throws IOException
onCharReceived
in class org.apache.http.nio.client.methods.AsyncCharConsumer<Boolean>
IOException