org.apache.http.nio.client.methods
Class AsyncByteConsumer<T>
java.lang.Object
org.apache.http.nio.client.methods.AbstractHttpAsyncResponseConsumer<T>
org.apache.http.nio.client.methods.AsyncByteConsumer<T>
- All Implemented Interfaces:
- HttpAsyncResponseConsumer<T>
public abstract class AsyncByteConsumer<T>
- extends AbstractHttpAsyncResponseConsumer<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsyncByteConsumer
public AsyncByteConsumer(int bufSize)
AsyncByteConsumer
public AsyncByteConsumer()
onByteReceived
protected abstract void onByteReceived(ByteBuffer buf,
org.apache.http.nio.IOControl ioctrl)
throws IOException
- Throws:
IOException
onContentReceived
protected void onContentReceived(org.apache.http.nio.ContentDecoder decoder,
org.apache.http.nio.IOControl ioctrl)
throws IOException
- Specified by:
onContentReceived
in class AbstractHttpAsyncResponseConsumer<T>
- Throws:
IOException
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.