org.apache.http.nio.protocol
Interface HttpAsyncRequestConsumer<T>
- All Superinterfaces:
- Closeable
- All Known Implementing Classes:
- AbstractAsyncRequestConsumer, BasicAsyncRequestConsumer
public interface HttpAsyncRequestConsumer<T>
- extends Closeable
- Since:
- 4.2
requestReceived
void requestReceived(HttpRequest request)
throws HttpException,
IOException
- Throws:
HttpException
IOException
consumeContent
void consumeContent(ContentDecoder decoder,
IOControl ioctrl)
throws IOException
- Throws:
IOException
requestCompleted
void requestCompleted(HttpContext context)
getException
Exception getException()
getResult
T getResult()
isDone
boolean isDone()
Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.