Class CXFHttpAsyncResponseConsumer

  • All Implemented Interfaces:
    Closeable, AutoCloseable, org.apache.http.concurrent.Cancellable, org.apache.http.nio.protocol.HttpAsyncResponseConsumer<Boolean>

    public class CXFHttpAsyncResponseConsumer
    extends Object
    implements org.apache.http.nio.protocol.HttpAsyncResponseConsumer<Boolean>
    • Method Detail

      • cancel

        public boolean cancel()
        Specified by:
        cancel in interface org.apache.http.concurrent.Cancellable
      • responseReceived

        public void responseReceived​(org.apache.http.HttpResponse resp)
                              throws IOException,
                                     org.apache.http.HttpException
        Specified by:
        responseReceived in interface org.apache.http.nio.protocol.HttpAsyncResponseConsumer<Boolean>
        Throws:
        IOException
        org.apache.http.HttpException
      • consumeContent

        public void consumeContent​(org.apache.http.nio.ContentDecoder dec,
                                   org.apache.http.nio.IOControl ioc)
                            throws IOException
        Specified by:
        consumeContent in interface org.apache.http.nio.protocol.HttpAsyncResponseConsumer<Boolean>
        Throws:
        IOException
      • responseCompleted

        public void responseCompleted​(org.apache.http.protocol.HttpContext context)
        Specified by:
        responseCompleted in interface org.apache.http.nio.protocol.HttpAsyncResponseConsumer<Boolean>
      • failed

        public void failed​(Exception ex)
        Specified by:
        failed in interface org.apache.http.nio.protocol.HttpAsyncResponseConsumer<Boolean>
      • getException

        public Exception getException()
        Specified by:
        getException in interface org.apache.http.nio.protocol.HttpAsyncResponseConsumer<Boolean>
      • getResult

        public Boolean getResult()
        Specified by:
        getResult in interface org.apache.http.nio.protocol.HttpAsyncResponseConsumer<Boolean>
      • isDone

        public boolean isDone()
        Specified by:
        isDone in interface org.apache.http.nio.protocol.HttpAsyncResponseConsumer<Boolean>