public abstract class AsyncCharConsumer<T> extends org.apache.http.nio.protocol.AbstractAsyncResponseConsumer<T>
| Constructor and Description |
|---|
AsyncCharConsumer() |
AsyncCharConsumer(int bufSize) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
onCharReceived(CharBuffer buf,
org.apache.http.nio.IOControl ioctrl) |
protected void |
onContentReceived(org.apache.http.nio.ContentDecoder decoder,
org.apache.http.nio.IOControl ioctrl) |
protected void |
onEntityEnclosed(HttpEntity entity,
ContentType contentType) |
protected void |
releaseResources() |
buildResult, cancel, close, consumeContent, failed, getException, getResult, isDone, onResponseReceived, responseCompleted, responseReceivedpublic AsyncCharConsumer(int bufSize)
public AsyncCharConsumer()
protected abstract void onCharReceived(CharBuffer buf, org.apache.http.nio.IOControl ioctrl) throws IOException
IOExceptionprotected final void onEntityEnclosed(HttpEntity entity, ContentType contentType) throws IOException
onEntityEnclosed in class org.apache.http.nio.protocol.AbstractAsyncResponseConsumer<T>IOExceptionprotected 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<T>IOExceptionprotected void releaseResources()
releaseResources in class org.apache.http.nio.protocol.AbstractAsyncResponseConsumer<T>Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.