org.apache.http.nio.protocol
Interface HttpAsyncRequestProducer
- All Superinterfaces:
- Closeable
- All Known Subinterfaces:
- HttpAsyncClientExchangeHandler<T>
- All Known Implementing Classes:
- BasicAsyncRequestProducer
public interface HttpAsyncRequestProducer
- extends Closeable
- Since:
- 4.2
getTarget
HttpHost getTarget()
generateRequest
HttpRequest generateRequest()
throws IOException,
HttpException
- Throws:
IOException
HttpException
produceContent
void produceContent(ContentEncoder encoder,
IOControl ioctrl)
throws IOException
- Throws:
IOException
requestCompleted
void requestCompleted(HttpContext context)
isRepeatable
boolean isRepeatable()
resetRequest
void resetRequest()
Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.