org.apache.cxf.transport.http.asyncclient
Class CXFHttpAsyncRequestProducer
java.lang.Object
org.apache.cxf.transport.http.asyncclient.CXFHttpAsyncRequestProducer
- All Implemented Interfaces:
- Closeable, org.apache.http.nio.protocol.HttpAsyncRequestProducer
public class CXFHttpAsyncRequestProducer
- extends Object
- implements org.apache.http.nio.protocol.HttpAsyncRequestProducer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CXFHttpAsyncRequestProducer
public CXFHttpAsyncRequestProducer(CXFHttpRequest request,
SharedOutputBuffer buf)
getTarget
public org.apache.http.HttpHost getTarget()
- Specified by:
getTarget
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
generateRequest
public org.apache.http.HttpRequest generateRequest()
throws IOException,
org.apache.http.HttpException
- Specified by:
generateRequest
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
- Throws:
IOException
org.apache.http.HttpException
produceContent
public void produceContent(org.apache.http.nio.ContentEncoder enc,
org.apache.http.nio.IOControl ioc)
throws IOException
- Specified by:
produceContent
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
- Throws:
IOException
requestCompleted
public void requestCompleted(org.apache.http.protocol.HttpContext context)
- Specified by:
requestCompleted
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
failed
public void failed(Exception ex)
- Specified by:
failed
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
isRepeatable
public boolean isRepeatable()
- Specified by:
isRepeatable
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
resetRequest
public void resetRequest()
throws IOException
- Specified by:
resetRequest
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Throws:
IOException
Apache CXF