Class HttpResponseParser.ResponseContext

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product
    Enclosing class:
    HttpResponseParser

    public static final class HttpResponseParser.ResponseContext
    extends java.lang.Object
    implements scala.Product, java.io.Serializable
    param: requestMethod the request's HTTP method param: oneHundredContinueTrigger if the request contains an Expect: 100-continue header this option contains a promise whose completion either triggers the sending of the (suspended) request entity or the closing of the connection (for error completion)
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ResponseContext​(HttpMethod requestMethod, scala.Option<scala.concurrent.Promise<scala.runtime.BoxedUnit>> oneHundredContinueTrigger)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      scala.Option<scala.concurrent.Promise<scala.runtime.BoxedUnit>> oneHundredContinueTrigger()  
      HttpMethod requestMethod()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface scala.Equals

        canEqual, equals
      • Methods inherited from interface scala.Product

        productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
    • Constructor Detail

      • ResponseContext

        public ResponseContext​(HttpMethod requestMethod,
                               scala.Option<scala.concurrent.Promise<scala.runtime.BoxedUnit>> oneHundredContinueTrigger)
    • Method Detail

      • requestMethod

        public HttpMethod requestMethod()
      • oneHundredContinueTrigger

        public scala.Option<scala.concurrent.Promise<scala.runtime.BoxedUnit>> oneHundredContinueTrigger()