- body
Sets the HTTP response body from a byte[] data that is written as a HTTP
response body when rendered
- code
Sets the status code (e.g. 200, 404, 500) of the HTTP response.
- contentType
Sets the Content-Type header to be rendered in the HTTP response.
- redirect
Sets the redirect URI of the HTTP response.
Setting this will cause a HTTP 30x redirect response.
- screen
Provides access to the screen model for custom (MVC) page rendering.
- cookies
Provides read/write access to the cookies of the HTTP response.
- headers
Provides read/write access to the headers of the HTTP response.
- json
Sets the Content-Type: application/json header and the content of the HTTP
response.
Alias to conte
- cookie
Sets a cookie of the HTTP response.
- done
Informs the HTTP server that the asynchronous handling has finished and the
response is complete.
Al
- file
Sets the file to be served when the HTTP response is rendered.
- filename
Sets the filename when serving a file in the HTTP response.