Class CXFHttpAsyncRequestProducer
java.lang.Object
org.apache.cxf.transport.http.asyncclient.hc5.CXFHttpAsyncRequestProducer
- All Implemented Interfaces:
org.apache.hc.core5.http.nio.AsyncDataProducer,org.apache.hc.core5.http.nio.AsyncRequestProducer,org.apache.hc.core5.http.nio.ResourceHolder
public class CXFHttpAsyncRequestProducer
extends Object
implements org.apache.hc.core5.http.nio.AsyncRequestProducer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidbooleanvoidproduce(org.apache.hc.core5.http.nio.DataStreamChannel channel) voidvoidsendRequest(org.apache.hc.core5.http.nio.RequestChannel channel, org.apache.hc.core5.http.protocol.HttpContext context)
-
Constructor Details
-
Method Details
-
produce
- Specified by:
producein interfaceorg.apache.hc.core5.http.nio.AsyncDataProducer- Throws:
IOException
-
failed
- Specified by:
failedin interfaceorg.apache.hc.core5.http.nio.AsyncRequestProducer
-
isRepeatable
public boolean isRepeatable()- Specified by:
isRepeatablein interfaceorg.apache.hc.core5.http.nio.AsyncRequestProducer
-
available
public int available()- Specified by:
availablein interfaceorg.apache.hc.core5.http.nio.AsyncDataProducer
-
releaseResources
public void releaseResources()- Specified by:
releaseResourcesin interfaceorg.apache.hc.core5.http.nio.ResourceHolder
-
sendRequest
public void sendRequest(org.apache.hc.core5.http.nio.RequestChannel channel, org.apache.hc.core5.http.protocol.HttpContext context) throws org.apache.hc.core5.http.HttpException, IOException - Specified by:
sendRequestin interfaceorg.apache.hc.core5.http.nio.AsyncRequestProducer- Throws:
org.apache.hc.core5.http.HttpExceptionIOException
-