Class 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
    • Method Detail

      • produce

        public void produce​(org.apache.hc.core5.http.nio.DataStreamChannel channel)
                     throws IOException
        Specified by:
        produce in interface org.apache.hc.core5.http.nio.AsyncDataProducer
        Throws:
        IOException
      • failed

        public void failed​(Exception ex)
        Specified by:
        failed in interface org.apache.hc.core5.http.nio.AsyncRequestProducer
      • isRepeatable

        public boolean isRepeatable()
        Specified by:
        isRepeatable in interface org.apache.hc.core5.http.nio.AsyncRequestProducer
      • available

        public int available()
        Specified by:
        available in interface org.apache.hc.core5.http.nio.AsyncDataProducer
      • releaseResources

        public void releaseResources()
        Specified by:
        releaseResources in interface org.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:
        sendRequest in interface org.apache.hc.core5.http.nio.AsyncRequestProducer
        Throws:
        org.apache.hc.core5.http.HttpException
        IOException