|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.nio.protocol.AbstractAsyncResponseConsumer<T>
org.apache.http.nio.client.methods.AsyncByteConsumer<T>
public abstract class AsyncByteConsumer<T>
Constructor Summary | |
---|---|
AsyncByteConsumer()
|
|
AsyncByteConsumer(int bufSize)
|
Method Summary | |
---|---|
protected abstract void |
onByteReceived(ByteBuffer 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()
|
Methods inherited from class org.apache.http.nio.protocol.AbstractAsyncResponseConsumer |
---|
buildResult, cancel, close, consumeContent, failed, getException, getResult, isDone, onResponseReceived, responseCompleted, responseReceived |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AsyncByteConsumer(int bufSize)
public AsyncByteConsumer()
Method Detail |
---|
protected abstract void onByteReceived(ByteBuffer buf, org.apache.http.nio.IOControl ioctrl) throws IOException
IOException
protected final void onEntityEnclosed(HttpEntity entity, ContentType contentType)
onEntityEnclosed
in class org.apache.http.nio.protocol.AbstractAsyncResponseConsumer<T>
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<T>
IOException
protected void releaseResources()
releaseResources
in class org.apache.http.nio.protocol.AbstractAsyncResponseConsumer<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |