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
.
An immutable map where an AttributeKey for a fixed type T
can only be associated with values of type T
.
Indicates a problem decoding a Message.
A type that can be used to decode a Message EntityDecoder is used to attempt to decode a Message returning the entire resulting A.
Implementations of the EntityDecoder instances
Encapsulates the notion of fallthrough orElse for a Service For any given B, if a Fallthrough[B] exists within implicit context then Service#orElse can be used.
Generic description of a failure to decode a Message
Generic description of a failure to handle a Message body
Generic description of a failure to parse an HTTP Message
Abstract representation o the HTTP header
A collection of HTTP Headers
A Service that produces a Task to compute a Response from a Request.
An HTTP version, as seen on the start line of an HTTP request or response.
Exception dealing with invalid body
Indicates a semantic error decoding the body of an HTTP Message.
Exception dealing with invalid response
Indicates an syntactic error decoding the body of an HTTP
Indicates that no EntityDecoder matches the MediaType of the Message being decoded
Indicates that a Message attempting to be decoded has no MediaType and no EntityDecoder was lenient enough to accept it.
Represents a HTTP Message.
Indicates a problem decoding a Message body.
Indicates a failure to handle an HTTP Message.
An HTTP method.
Indicates an error parsing an HTTP Message.
Indicates an error parsing an HTTP Message.
A Quality Value.
Collection representation of a query string
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 encode a T
as a QueryParameterValues
Representation of an incoming HTTP message
Representation of the HTTP response to send back to the client
A Service wraps a function of request type A to a Task that runs to response type B.
A Service wraps a function of request type A to a Task that runs
to response type B. By wrapping the Service
, we can compose them
using Kleisli operations.
Representation of the HTTP response code and reason
Representation of the Request URI
Simple representation of a URI Template that can be rendered as RFC6570 conform string.
This object was generated by sbt-buildinfo.
A registry of cache-directives, as listed in http://www.
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.
Houses the principal Fallthrough typeclass instances.
There are 4 HttpService constructors:
This package is the start of a multipart implementation for http4s.