Decode the Message to the specified type
Decode the Message to the specified type
type of the result
EntityDecoder used to decode the Message
the Task
which will generate the DecodeResult[T]
Like decode, but with an explicit decoder.
Like decode, but with an explicit decoder.
If strict, will return a Status.UnsupportedMediaType http Response if this message's MediaType is not supported by the provided decoder
Generates a new message object with the specified key/value pair appended to the org.http4s.AttributeMap
Generates a new message object with the specified key/value pair appended to the org.http4s.AttributeMap
type of the value to store
AttributeKey with which to associate the value
value associated with the key
a new message object with the key/value pair appended
Add a Cookie header with the provided values
Add a Cookie header for the provided Cookie
Decode the Message to the specified type
type of the result
EntityDecoder used to decode the Message
the Task
which will generate the T
Helper method for decoding Requests
Helper method for decoding Requests
Helper method for decoding Requests
Attempt to decode the Request and, if successful, execute the continuation to get a Response.
If decoding fails, an UnprocessableEntity
Response is generated. If the decoder does not support the
MediaType of the Request, a UnsupportedMediaType
Response is generated instead.
Remove headers that satisfy the predicate
Remove headers that satisfy the predicate
predicate
a new message object which lacks the specified headers
Add the provided headers to the existing headers, replacing those of the same header name The passed headers are assumed to contain no duplicate Singleton headers.
Add the provided headers to the existing headers, replacing those of the same header name The passed headers are assumed to contain no duplicate Singleton headers.
Replace the existing headers with those provided
Replace the existing headers with those provided
Replaces the Headers of the incoming Request object
Replaces the Headers of the incoming Request object
Headers containing the desired headers
a new Request object
Generates a new message object with the specified key/value pair appended to the org.http4s.AttributeMap
Generates a new message object with the specified key/value pair appended to the org.http4s.AttributeMap
type of the value to store
AttributeEntry entry to add
a new message object with the key/value pair appended
Added the org.http4s.headers.Content-Type header to the response
Added the org.http4s.headers.Content-Type header to the response