Returns a copy of this context that cancels all rejections matching the given predicate with a RejectionRejection.
Returns a copy of this context that cancels all rejections of type R with a RejectionRejection.
Completes the request with the given cc.spray.http.HttpResponse.
Completes the request with status "200 Ok" and the given response content.
Completes the request with status "200 Ok" and response content created by marshalling the given object using the in-scope marshaller for the type.
Completes the request with the given cc.spray.http.HttpFailure.
Completes the request with the given cc.spray.http.HttpFailure.
Completes the request with a redirection response to the given URI.
Rejects the request with the given rejections.
Rejects the request with the given rejections.
Returns a copy of this context with the the given response transformation function chained into the responder.
Returns a copy of this context with the HttpRequest transformed by the given function.
Returns a copy of this context with the responder replaced by the given responder.
Returns a copy of this context with the the given RoutingResult transformation function chained into the responder.
use productIterator instead
Immutable object encapsulating the context of an cc.spray.http.HttpRequest as it flows through a spray Route structure.