public class CXFHttpAsyncRequestProducer extends Object implements org.apache.http.nio.protocol.HttpAsyncRequestProducer
| Constructor and Description |
|---|
CXFHttpAsyncRequestProducer(CXFHttpRequest request,
SharedOutputBuffer buf) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
failed(Exception ex) |
org.apache.http.HttpRequest |
generateRequest() |
org.apache.http.HttpHost |
getTarget() |
boolean |
isRepeatable() |
void |
produceContent(org.apache.http.nio.ContentEncoder enc,
org.apache.http.nio.IOControl ioc) |
void |
requestCompleted(org.apache.http.protocol.HttpContext context) |
void |
resetRequest() |
public CXFHttpAsyncRequestProducer(CXFHttpRequest request, SharedOutputBuffer buf)
public org.apache.http.HttpHost getTarget()
getTarget in interface org.apache.http.nio.protocol.HttpAsyncRequestProducerpublic org.apache.http.HttpRequest generateRequest()
throws IOException,
org.apache.http.HttpException
generateRequest in interface org.apache.http.nio.protocol.HttpAsyncRequestProducerIOExceptionorg.apache.http.HttpExceptionpublic void produceContent(org.apache.http.nio.ContentEncoder enc,
org.apache.http.nio.IOControl ioc)
throws IOException
produceContent in interface org.apache.http.nio.protocol.HttpAsyncRequestProducerIOExceptionpublic void requestCompleted(org.apache.http.protocol.HttpContext context)
requestCompleted in interface org.apache.http.nio.protocol.HttpAsyncRequestProducerpublic void failed(Exception ex)
failed in interface org.apache.http.nio.protocol.HttpAsyncRequestProducerpublic boolean isRepeatable()
isRepeatable in interface org.apache.http.nio.protocol.HttpAsyncRequestProducerpublic void resetRequest()
throws IOException
resetRequest in interface org.apache.http.nio.protocol.HttpAsyncRequestProducerIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionApache CXF