org.apache.http.nio.client
Interface HttpAsyncResponseConsumer<T>
- All Known Subinterfaces:
- HttpAsyncExchangeHandler<T>
- All Known Implementing Classes:
- BasicHttpAsyncResponseConsumer
public interface HttpAsyncResponseConsumer<T>
responseReceived
void responseReceived(HttpResponse response)
throws IOException,
HttpException
- Throws:
IOException
HttpException
consumeContent
void consumeContent(org.apache.http.nio.ContentDecoder decoder,
org.apache.http.nio.IOControl ioctrl)
throws IOException
- Throws:
IOException
responseCompleted
void responseCompleted()
failed
void failed(Exception ex)
cancel
void cancel()
getResult
T getResult()
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.