An actor that buffers the content of incoming MessageChunk messages as well as a final ChunkedRequestEnd to construct a full HttpResponse instance and dispatch it to a given service actor.
An instance of this class serves as argument to the streamActorCreator function of the
ServerConfig.
Stream actors (see the streamActorCreator member of the ServerConfig) need to be able to handle
ChunkedRequestEnd messages, which represent the end of an incoming chunked (streaming) request.
An instance of this trait is returned by the startChunkedRequest method of an HttpConnection
instance.
A ChunkedResponder is returned by the startChunkedResponse method of a RequestResponder
(the responder member of a RequestContext).
Receiver actors (see the sendAndReceive method of the HttpConnection) need to be able to handle
ChunkedResponseEnd messages, which represent the end of an incoming chunked (streaming) response.
Receiver actors (see the sendAndReceive method of the HttpConnection) need to be able to handle
ChunkedResponseStart messages, which signal the arrival of a chunked (streaming) response.
The ClientConfig configures an instance of the HttpClient actor.
Message to be send to an HttpClient actor to initiate a new connection to the given host and port.
Immutable, fast and efficient Date + Time implementation without any dependencies.
A new instance of the DefaultReceiverActor is used as the receiver actor for send calls on an
HttpConnection, that return a Future[HttpResponse].
The actor implementing the spray-can HTTP client functionality.
Special exception used for transporting error occuring during HttpClient operations.
An instance of this trait represents an HTTP connection to a specific host and port.
The spray-can model of an HTTP header.
Sealed trait modelling an HTTP method.
Sealed trait modelling an HTTP protocol version.
The spray-can model of an HTTP request.
The spray-can model of an HTTP response.
The actor implementing the spray-can HTTP server functionality.
Instance of this class represent the individual chunks of a chunked HTTP message (request or response).
The configuration of the HTTP message parser.
The common configuration elements of a ServerConfig and a ClientConfig.
The HttpServer dispatches a RequestContext instance to the service actor (as configured in the
ServerConfig of the HttpServer) upon successful reception of an HTTP request.
An instance of this trait is used by the application to complete incoming requests.
The ServerConfig configures an instance of the HttpServer actor.
Both, the HttpServer as well as the HttpClient respond to
GetStats messages by replying with an instance of Stats.
When the service actor does not reply to a dispatched RequestContext within the time period
configured as requestTimeout in the ServerConfig the HttpServer dispatches
a Timeout instance to the timeout actor (as configured in the ServerConfig).
Both, the HttpServer as well as the HttpClient respond to GetStats messages
by replying with an instance of Stats.
Module containing all defined HttpMethod instances.
Module containing all defined HttpProtocol instances.