The base of the requested URI. Includes the scheme and host without the trailing slash (e.g. http://example.com)
List of string tokens, the request URI path split by "/"
The entire path part of the URI, including any query string present.
parsed query string. duplicate keys will have multiple elements in the values list otherwise the values list will only have one element
The request's scalamachine.core.HTTPMethod
integer response status code
Request headers
Response headers
The body of the request. See scalamachine.core.HTTPBody for more
The body of the response to be set by this resource. See scalamachine.core.HTTPBody for more
If true some responses will return 303 instead of 2xx
The base of the requested URI.
The base of the requested URI. Includes the scheme and host without the trailing slash (e.g. http://example.com)
If true some responses will return 303 instead of 2xx
The request's scalamachine.core.HTTPMethod
List of string tokens, the request URI path split by "/"
parsed query string.
parsed query string. duplicate keys will have multiple elements in the values list otherwise the values list will only have one element
The entire path part of the URI, including any query string present.
The body of the request.
The body of the request. See scalamachine.core.HTTPBody for more
Request headers
The body of the response to be set by this resource.
The body of the response to be set by this resource. See scalamachine.core.HTTPBody for more
Response headers
integer response status code
Represents the request being sent by the client as well as the response built by the resource
A Note about Headers: framework implementations ensure that only headers that Scalamachine knows about (defined via scalamachine.core.HTTPHeaders.createHeader) are present in header collections. Additionally, header collections do not currenlty support the same header appearing more than once in a request although allowed by the HTTP spec Support for this will be added shortly.
Still missing from the original implementation:
The base of the requested URI. Includes the scheme and host without the trailing slash (e.g. http://example.com)
List of string tokens, the request URI path split by "/"
The entire path part of the URI, including any query string present.
parsed query string. duplicate keys will have multiple elements in the values list otherwise the values list will only have one element
The request's scalamachine.core.HTTPMethod
integer response status code
Request headers
Response headers
The body of the request. See scalamachine.core.HTTPBody for more
The body of the response to be set by this resource. See scalamachine.core.HTTPBody for more
If true some responses will return 303 instead of 2xx