| Package | Description |
|---|---|
| ratpack.handling |
The handling of application requests.
|
| ratpack.http |
The HTTP protocol.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
Context.getResponse()
The HTTP response.
|
Response |
RequestOutcome.getResponse() |
| Modifier and Type | Method and Description |
|---|---|
Response |
Response.contentType(String contentType)
Sets the response
Content-Type header. |
Response |
Response.status(int code)
Sets the status line of the response.
|
Response |
Response.status(int code,
String message)
Sets the status line of the response.
|