Sent to AbstractResourceActor to indicate that a request should be processed
Sent to AbstractResourceActor to indicate that a request should be processed
The parsed request to process
the function that parses an spray.http.HttpRequest into a type, or fails
Contains all information needed to start an HttpResourceActor.
Contains all information needed to start an HttpResourceActor.
the spray spray.routing.RequestContext
for this request
the function to parse the request into a valid scala type
the actor to send the successful spray.http.HttpResponse or the failed java.lang.Throwable
.
optional - pass None to not do this
the time after which the request will time out, from the start of the request (i.e. when the resource actor receives Start.) Not the same as spray's timeout. This can be specified on a per-request basis and is more granular.
The default timeout for a request which is not completed in time.
The default timeout for a request which is not completed in time. Not the same as spray's timeout.
create the akka.actor.Props
for a new com.paypal.cascade.http.resource.HttpResourceActor
create the akka.actor.Props
for a new com.paypal.cascade.http.resource.HttpResourceActor
function for creating props for an actor which will handle the request
the com.paypal.cascade.http.resource.HttpResourceActor.ResourceContext to pass to the
com.paypal.cascade.http.resource.HttpResourceActor
the parser function to pass to the com.paypal.cascade.http.resource.HttpResourceActor
the optional actor to pass to the com.paypal.cascade.http.resource.HttpResourceActor
the amount of time until the request times out after it has been started. Not the same as spray's timeout. This can be specified on a per-request basis and is more granular.
the new akka.actor.Props