public final class RequestRenderingContext
extends java.lang.Object
implements scala.Product, java.io.Serializable
param: request the request to be rendered
param: hostHeader the host header to render (not necessarily contained in the request.headers)
param: sendEntityTrigger defined when the request has a Expect: 100-continue
header; in this case the future will
be completed successfully when the request entity is allowed to go out onto the wire;
if the future is completed with an error the connection is to be closed.
Constructor and Description |
---|
RequestRenderingContext(HttpRequest request,
Host hostHeader,
scala.Option<scala.concurrent.Future<org.apache.pekko.NotUsed>> sendEntityTrigger) |
Modifier and Type | Method and Description |
---|---|
abstract static R |
apply(T1 v1,
T2 v2,
T3 v3) |
Host |
hostHeader() |
HttpRequest |
request() |
scala.Option<scala.concurrent.Future<org.apache.pekko.NotUsed>> |
sendEntityTrigger() |
static java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public RequestRenderingContext(HttpRequest request, Host hostHeader, scala.Option<scala.concurrent.Future<org.apache.pekko.NotUsed>> sendEntityTrigger)
public abstract static R apply(T1 v1, T2 v2, T3 v3)
public static java.lang.String toString()
public HttpRequest request()
public Host hostHeader()
public scala.Option<scala.concurrent.Future<org.apache.pekko.NotUsed>> sendEntityTrigger()