Builds an empty HTTP response.
Builds an HTTP response of the given body
with content-type according to the implicit
EncodeResponse.
Builds an HTTP response of the given body
with content-type according to the implicit
EncodeResponse.
the response body
the HTTP cookies list
the HTTP headers map
the HTTP response status
Creates a new response builder with given charset
.
Creates a new response builder with given charset
.
the charset to be used instead
Creates a new response builder with given contentType
.
Creates a new response builder with given contentType
.
the content type to be used instead
Creates a new response builder with the given cookies
.
Creates a new response builder with the given cookies
.
the Cookie's to add to the response
Creates a new response builder with the given headers
.
Creates a new response builder with the given headers
.
the HTTP headers map
An abstraction that is responsible for building HTTP responses.
the HTTP response status
the HTTP headers map
the HTTP cookies list