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
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
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 `Content-Type` header to the response
Added the `Content-Type` header to the response
Replace the existing headers with those provided
Replace the existing headers with those provided
(Since version 0.10.0) Use replaceAllHeaders.
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
(Since version 0.10.0) Use replaceAllHeaders.