A map entry where key
is constrained to only be associated with a fixed value of type T
.
A key in an AttributeMap that constrains its associated value to be of type T
.
A key in an AttributeMap that constrains its associated value to be of type T
.
The key is uniquely defined by its reference: there are no duplicate keys, even
those with the same name and type.
An immutable map where an AttributeKey for a fixed type T
can only be associated with values of type T
.
An immutable map where an AttributeKey for a fixed type T
can only be associated with values of type T
.
Because the equality of keys is based on reference, it is therefore possible for this map to contain mappings
for keys with the same label and same types.
Immutable, fast and efficient Date + Time implementation without any dependencies.
Immutable, fast and efficient Date + Time implementation without any dependencies. Does not support TimeZones, all DateTime values are always GMT based. Note that this implementation discards milliseconds (i.e. rounds down to full seconds).
A type that can be used to decode an EntityBody EntityDecoder is used to attempt to decode an EntityBody returning the entire resulting A.
A type that can be used to decode an EntityBody EntityDecoder is used to attempt to decode an EntityBody returning the entire resulting A. If an error occurs it will result in a failed Task These are not streaming constructs.
result type produced by the decoder
Implementations of the EntityDecoder instances
Abstract representation o the HTTP header
Abstract representation o the HTTP header
org.http4s.HeaderKey
A collection of HTTP Headers
An HTTP version, as seen on the start line of an HTTP request or response.
An HTTP version, as seen on the start line of an HTTP request or response.
[http://tools.ietf.org/html/rfc7230#section-2.6 RFC 7320, Section 2.6
Exception dealing with invalid body
Exception dealing with invalid body
description if what makes the body invalid
Exception dealing with invalid response
Exception dealing with invalid response
description if what makes the response invalid
Represents a HTTP Message.
Represents a HTTP Message. The interesting subclasses are Request and Response while most of the functionality is found in MessageSyntax and ResponseOps
An HTTP method.
An HTTP method.
[http://www.iana.org/assignments/http-methods/http-methods.xhtml IANA HTTP Method Registry]
[http://tools.ietf.org/html/rfc7231#section-4 RFC7321, Section 4]
Indicates an error parsing an HTTP message.
Indicates an error parsing an HTTP message.
May safely be displayed to a client to describe an error condition. Should not echo any part of a Request.
Contains any relevant details omitted from the sanitized version of the error. This may freely echo a Request.
A Quality Value.
A Quality Value. Represented as thousandths for an exact representation rounded to three decimal places.
Collection representation of a query string
Collection representation of a query string
It is a indexed sequence of key and maybe a value pairs which maps precisely to a query string, modulo the identity of separators.
When rendered, the resulting String
will have the pairs separated
by '&' while the key is separated from the value with '='
type class defining the key of a query parameter Usually used in conjunction with QueryParamEncoder and QueryParamDecoder
Type class defining how to decode a QueryParameterValue into a T
Type class defining how to decode a QueryParameterValue into a T
QueryParamCodecLaws
Type class defining how to encode a T
as a QueryParameterValues
Type class defining how to encode a T
as a QueryParameterValues
QueryParamCodecLaws
Representation of an incoming HTTP message
Representation of an incoming HTTP message
A Request encapsulates the entirety of the incoming HTTP request including the status line, headers, and a possible request body.
Method.GET, Method.POST, etc.
representation of the request URI
the HTTP version
collection of Headers
scalaz.stream.Process[Task,Chunk] defining the body of the request
Immutable Map used for carrying additional information in a type safe fashion
Representation of the HTTP response to send back to the client
Representation of the HTTP response to send back to the client
Status code and message
Headers containing all response headers
scalaz.stream.Process[Task,Chunk] representing the possible body of the response
AttributeMap containing additional parameters which may be used by the http4s backend for additional processing such as java.io.File object
Representation of the HTTP response code and reason
Representation of the HTTP response code and reason
Note: the reason is not important to the protocol and is not considered in equality checks.
[http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml IANA Status Code Registry]
[http://tools.ietf.org/html/rfc7231#section-6 RFC7231, Section 6]
Representation of the Request URI Structure containing information related to a Uri.
Representation of the Request URI Structure containing information related to a Uri. All fields except the query are expected to be url decoded.
optional Uri Scheme. eg, http, https
optional Uri Authority. eg, localhost:8080, www.foo.bar
the Uri path
optional Query. Note that the query should _NOT_ be url decoded
optional Uri Fragment. Note that the fragment should _NOT_ be url decoded
Simple representation of a URI Template that can be rendered as RFC6570 conform string.
Simple representation of a URI Template that can be rendered as RFC6570 conform string.
This model reflects only a subset of RFC6570.
Level 1 and Level 2 are completely modeled and Level 3 features are limited to:
This object was generated by sbt-buildinfo.
A registry of cache-directives, as listed in http://www.iana.org/assignments/http-cache-directives/http-cache-directives.xhtml
EntityDecoder is used to attempt to decode an EntityBody
This companion object provides a way to create new EntityDecoder
s along
with some commonly used instances which can be resolved implicitly.