- body
- build
Builds a response.
- header
- addHeader
- headers
- <init>
Creates a builder with a status code.
- addCookie
Adds a response cookie (adds a new Set-Cookie header).
- addCookies
Adds cookies into this response by adding "Set-Cookie" headers.
- cookies
Sets the cookies on this response by removing existing "Set-Cookie" headers and
adding new ones.
- disableCaching
Adds the necessary header to make the current request not cache-able by the
client.
- ensureContentLengthIsValid
- removeCookies
Removes all cookies matching one of the supplied names by removing their
"Set-Cookie" headers.