Package akka.http.impl.engine.parsing
Class HttpResponseParser.ResponseContext
java.lang.Object
akka.http.impl.engine.parsing.HttpResponseParser.ResponseContext
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- HttpResponseParser
public static final class HttpResponseParser.ResponseContext
extends Object
implements scala.Product, 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:
-
Constructor Summary
ConstructorsConstructorDescriptionResponseContext
(HttpMethod requestMethod, scala.Option<scala.concurrent.Promise<scala.runtime.BoxedUnit>> oneHundredContinueTrigger) -
Method Summary
Modifier and TypeMethodDescriptionscala.Option<scala.concurrent.Promise<scala.runtime.BoxedUnit>>
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 Details
-
ResponseContext
public ResponseContext(HttpMethod requestMethod, scala.Option<scala.concurrent.Promise<scala.runtime.BoxedUnit>> oneHundredContinueTrigger)
-
-
Method Details
-
requestMethod
-
oneHundredContinueTrigger
public scala.Option<scala.concurrent.Promise<scala.runtime.BoxedUnit>> oneHundredContinueTrigger()
-