Package | Description |
---|---|
ratpack.handling |
The handling of application requests.
|
ratpack.http |
The HTTP protocol.
|
ratpack.http.client |
Modifier and Type | Method and Description |
---|---|
Response |
Context.getResponse()
The HTTP response.
|
Modifier and Type | Method and Description |
---|---|
Response |
Response.contentType(CharSequence contentType)
Sets the response
Content-Type header. |
Response |
Response.contentTypeIfNotSet(CharSequence contentType)
Sets the response
Content-Type header, if it has not already been set. |
Response |
Response.status(int code)
Sets the status line of the response.
|
Response |
Response.status(Status status)
Sets the status line of the response.
|
Modifier and Type | Method and Description |
---|---|
void |
ReceivedResponse.send(Response response) |