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.HttpAsyncRequestProducer
public org.apache.http.HttpRequest generateRequest() throws IOException, org.apache.http.HttpException
generateRequest
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
IOException
org.apache.http.HttpException
public void produceContent(org.apache.http.nio.ContentEncoder enc, org.apache.http.nio.IOControl ioc) throws IOException
produceContent
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
IOException
public void requestCompleted(org.apache.http.protocol.HttpContext context)
requestCompleted
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
public void failed(Exception ex)
failed
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
public boolean isRepeatable()
isRepeatable
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
public void resetRequest() throws IOException
resetRequest
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Apache CXF