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
Add a Set-Cookie header with the provided values
Add a Set-Cookie header with the provided values
Add a Set-Cookie header for the provided Cookie
Add a Set-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
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]
AttributeMap containing additional parameters which may be used by the http4s backend for additional processing such as java.io.File object
AttributeMap containing additional parameters which may be used by the http4s backend for additional processing such as java.io.File object
scalaz.stream.Process[Task,Chunk] representing the possible body of the response
Returns the charset parameter of the Content-Type
header, if present.
Returns the charset parameter of the Content-Type
header, if present. Does
not introspect the body for media types that define a charset
internally.
Returns a list of cookies from the org.http4s.headers.Set-Cookie headers.
Returns a list of cookies from the org.http4s.headers.Set-Cookie headers. Includes expired cookies, such as those that represent cookie deletion.
Remove headers that satisfy the predicate
Remove headers that satisfy the predicate
predicate
a new message object which lacks the specified headers
Headers containing all response headers
True if and only if the body is composed solely of Emits and Halt.
True if and only if the body is composed solely of Emits and Halt. This indicates that the body can be re-run without side-effects.
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.
Add a org.http4s.headers.Set-Cookie which will remove the specified cookie from the client
Add a org.http4s.headers.Set-Cookie which will remove the specified cookie from the client
Add a org.http4s.headers.Set-Cookie which will remove the specified cookie from the client
Add a org.http4s.headers.Set-Cookie which will remove the specified cookie from the client
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
Status code and message
The trailer headers, as specified in Section 3.6.1 of RFC 2616.
The trailer headers, as specified in Section 3.6.1 of RFC 2616. The resulting task might not complete unless the entire body has been consumed.
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
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
Replace the body of this message with a new body
Replace the body of this message with a new body
type of the Body
body to attach to this method
EntityEncoder with which to convert the body to an EntityBody
a new message with the new body
Sets the entity body without affecting headers such as Transfer-Encoding
or Content-Length
.
Sets the entity body without affecting headers such as Transfer-Encoding
or Content-Length
. Most use cases are better served by withBody,
which uses an EntityEncoder to maintain the headers.
Set an empty entity body on this message, and remove all payload headers that make no sense with an empty body.
Set an empty entity body on this message, and remove all payload headers that make no sense with an empty body.
Change the status of this response object
Change the status of this response object
value to replace on the response object
a new response object with the new status code
Added the org.http4s.headers.Content-Type header to the response
Added the org.http4s.headers.Content-Type header to the response
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