org.apache.http.impl.nio.client
Class BasicHttpAsyncRequestProducer
java.lang.Object
org.apache.http.impl.nio.client.BasicHttpAsyncRequestProducer
- All Implemented Interfaces:
- HttpAsyncRequestProducer
public class BasicHttpAsyncRequestProducer
- extends Object
- implements HttpAsyncRequestProducer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicHttpAsyncRequestProducer
public BasicHttpAsyncRequestProducer(HttpHost target,
HttpRequest request)
generateRequest
public HttpRequest generateRequest()
- Specified by:
generateRequest
in interface HttpAsyncRequestProducer
getTarget
public HttpHost getTarget()
- Specified by:
getTarget
in interface HttpAsyncRequestProducer
createProducingHttpEntity
protected org.apache.http.nio.entity.ProducingNHttpEntity createProducingHttpEntity(HttpRequest request)
throws IOException
- Throws:
IOException
produceContent
public void produceContent(org.apache.http.nio.ContentEncoder encoder,
org.apache.http.nio.IOControl ioctrl)
throws IOException
- Specified by:
produceContent
in interface HttpAsyncRequestProducer
- Throws:
IOException
isRepeatable
public boolean isRepeatable()
- Specified by:
isRepeatable
in interface HttpAsyncRequestProducer
resetRequest
public void resetRequest()
- Specified by:
resetRequest
in interface HttpAsyncRequestProducer
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.