Builds an empty HTTP response.
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
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