org.apache.http.nio.client.methods
Class AsyncCharConsumer<T>
java.lang.Object
org.apache.http.nio.client.methods.AbstractHttpAsyncResponseConsumer<T>
org.apache.http.nio.client.methods.AsyncCharConsumer<T>
- All Implemented Interfaces:
- HttpAsyncResponseConsumer<T>
public abstract class AsyncCharConsumer<T>
- extends AbstractHttpAsyncResponseConsumer<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsyncCharConsumer
public AsyncCharConsumer(int bufSize)
AsyncCharConsumer
public AsyncCharConsumer()
onCharReceived
protected abstract void onCharReceived(CharBuffer buf,
org.apache.http.nio.IOControl ioctrl)
throws IOException
- Throws:
IOException
responseReceived
public void responseReceived(HttpResponse response)
throws IOException,
HttpException
- Specified by:
responseReceived
in interface HttpAsyncResponseConsumer<T>
- Overrides:
responseReceived
in class AbstractHttpAsyncResponseConsumer<T>
- Throws:
IOException
HttpException
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.