Adds a TransformationRejection cancelling all rejections for which the given filter function returns true to the list of rejections potentially coming back from the inner route.
Adds a TransformationRejection cancelling all rejections equal to the given one to the list of rejections potentially coming back from the inner route.
Directive extracting the IP of the client from either the X-Forwarded-For, Remote-Address or X-Real-IP header (in that order of priority).
Wraps the inner Route with JSONP support.
Converts responses with an empty entity into (empty) rejections.
Rejects the request if its entity is not empty.
Rejects empty requests with a RequestEntityExpectedRejection.
Extracts the complete request.
Extracts the complete request URI.
Transforms the unmatchedPath of the RequestContext using the given function.
Extracts the unmatched path from the RequestContext.
Returns a Directive which checks the given condition before passing on the spray.routing.RequestContext to its inner Route.