Package akka.http.impl.engine.parsing
Class HttpResponseParser.ResponseContext
- java.lang.Object
-
- akka.http.impl.engine.parsing.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 anExpect: 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()
-
-
-
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()
-
-