Class CXFHttpAsyncRequestProducer

java.lang.Object
org.apache.cxf.transport.http.asyncclient.CXFHttpAsyncRequestProducer
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.http.nio.protocol.HttpAsyncRequestProducer

public class CXFHttpAsyncRequestProducer extends Object implements org.apache.http.nio.protocol.HttpAsyncRequestProducer
  • Constructor Details

  • Method Details

    • 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 AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException