Class NullRequestConsumer

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.nio.ByteBuffer buffer  
      private boolean completed  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void consumeContent​(ContentDecoder decoder, IOControl ioControl)
      Invoked to process a chunk of content from the ContentDecoder.
      void failed​(java.lang.Exception ex)
      Invoked to signal that the request processing terminated abnormally.
      java.lang.Exception getException()
      Returns an exception in case of an abnormal termination.
      java.lang.Object getResult()
      Returns a result of the request execution, when available.
      boolean isDone()
      Determines whether or not the request execution completed.
      void requestCompleted​(HttpContext context)
      Invoked to signal that the request has been fully processed.
      void requestReceived​(HttpRequest request)
      Invoked when a HTTP request message is received.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait