Completes the request with status "200 Ok" and the response entity created by marshalling the given object using the in-scope marshaller for the type.
Bubbles the given error up the response chain where it is dealt with by the closest handleExceptions
directive and its
, unless the error is a ExceptionHandler
.RejectionError
Bubbles the given error up the response chain where it is dealt with by the closest handleExceptions
directive and its
, unless the error is a ExceptionHandler
. In this case the
wrapped rejection is unpacked and "executed".
RejectionError
Completes the request with redirection response of the given type to the given URI.
Rejects the request with the given rejections.
Rejects the request with the given rejections.
Removes a potentially existing Accept header from the request headers.
Returns a copy of this context that automatically sets the sender of all messages to its responder to the given one, if no explicit sender is passed along from upstream.
Returns a copy of this context with the given response transformation function chained into the response chain.
Returns a copy of this context with the given response transformation function chained into the response chain.
Returns a copy of this context with the given response transformation function chained into the response chain.
Returns a copy of this context with the given response transformation function chained into the response chain.
Returns a copy of this context with the given response transformation function chained into the response chain.
Returns a copy of this context with the given rejection handling function chained into the response chain.
Returns a copy of this context with the given rejection transformation function chained into the response chain.
Returns a copy of this context with the HttpRequest transformed by the given function.
Returns a copy of this context with responder substituted for the given one.
Returns a copy of this context with the responder transformed by the given function.
Returns a copy of this context with the given function handling a part of the response space.
Returns a copy of this context with the given response transformation function chained into the response chain.
Returns a copy of this context with the given response transformation function chained into the response chain.
Returns a copy of this context with the given response transformation function chained into the response chain.
Returns a copy of this context with the given response handling function chained into the response chain.
Returns a copy of this context with the unmatchedPath transformed by the given function.
Immutable object encapsulating the context of an spray.http.HttpRequest as it flows through a spray Route structure.