Model for one part of a multipart message.
Two-level model of error information.
Two-level model of error information. The summary should explain what is wrong with the request or response *without* directly repeating anything present in the message itself (in order to not open holes for XSS attacks), while the detail can contain additional information from any source (even the request itself).
Marker for exceptions that provide an ErrorInfo
Model for application/x-www-form-urlencoded
form data.
A charset range as encountered in Accept-Charset
.
A charset range as encountered in Accept-Charset
. Can either be a single charset, or *
if all charsets are supported and optionally a qValue for selecting this choice.
Models the entity (aka "body" or "content) of an HTTP message.
The model of an HTTP header.
The model of an HTTP header. In its most basic form headers are simple name-value pairs. Header names are compared in a case-insensitive way.
Common base class of HttpRequest and HttpResponse.
The method of an HTTP request.
The protocol of an HTTP message
The immutable model HTTP request model.
The immutable HTTP response model.
An entity that can be used for every HttpMessage, i.e.
An entity that can be used for every HttpMessage, i.e. for requests and responses.
Model for multipart/byteranges content as defined in RFC 2046.
Model for multipart/byteranges content as defined in RFC 2046.
If you are looking for a model for multipart/form-data
you should be using MultipartFormData.
Basic model for multipart content as defined in RFC 2046.
Basic model for multipart content as defined in RFC 2046.
If you are looking for a model for multipart/form-data
you should be using MultipartFormData.
Model for multipart/form-data
content as defined in RFC 2388.
Model for multipart/form-data
content as defined in RFC 2388.
All parts must contain a Content-Disposition header with a type form-data
and a name parameter that is unique.
The result status code of an HTTP response.
A specialized MultipartFormData
that allows full random access to its parts.
An immutable model of an internet URI as defined by http://tools.ietf.org/html/rfc3986.
An immutable model of an internet URI as defined by http://tools.ietf.org/html/rfc3986. All members of this class represent the *decoded* URI elements (i.e. without percent-encoding).
Helper trait for objects that allow creating new instances with a modified qValue.
A convenience extractor that allows to match on a BodyPart including its name and filename if the body-part is used as part of form-data.
A convenience extractor that allows to match on a BodyPart including its name and filename if the body-part is used as part of form-data. If the part has no name an empty string will be extracted, instead. If the part has no filename the extractor won't match.
Example:
(formData: StrictMultipartFormData).fields collect { case FileBodyPart("file", filename, data, headers) => filename -> data }
A convenience extractor that allows to match on a BodyPart including its name if the body-part is used as part of form-data.
A convenience extractor that allows to match on a BodyPart including its name if the body-part is used as part of form-data. If the part has no name the extractor won't match.
Example:
(formData: StrictMultipartFormData).fields collect { case NamedBodyPart("address", data, headers) => data }