A list of content types that that this server can accept, by default application/json
.
A list of content types that that this server can accept, by default application/json
.
These will be matched against the Content-Type
header of incoming requests.
a list of content types
This method will always be invoked after request processing is finished.
This method will always be invoked after request processing is finished.
If the method throws, the error will be logged and the given response will still be returned. As always, personally identifiable information should never be included in exception messages.
The response to be returned to the client
This method will always be invoked before request processing begins.
This method will always be invoked before request processing begins. It is primarily provided for metrics tracking.
If the method throws, an internal server error will be returned. As always, personally identifiable information should never be included in exception messages.
The Http method of the request in question
Exception handler for creating an http error response when Status.Failure is received.
Exception handler for creating an http error response when Status.Failure is received.
the exception
a crafted HttpResponse from the error message
The content type that this server provides, by default application/json
The content type that this server provides, by default application/json
a list of content types
The language of the data in the response, to for the Content-Language header
The language of the data in the response, to for the Content-Language header
a spray.http.Language value in an Option, or None, if the Content-Language header does not need to be set for this resource
the actor to manage the execution of an com.paypal.cascade.http.resource.AbstractResourceActor. Create one of these per request