| Package | Description |
|---|---|
| ratpack.handling |
The handling of application requests.
|
| ratpack.http |
The HTTP protocol.
|
| Modifier and Type | Method and Description |
|---|---|
Background |
Context.getBackground()
An object to be used when executing blocking IO, or long operations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Response.sendFile(Background background,
String contentType,
BasicFileAttributes attributes,
Path file)
Sends the response, using the given content type and the content of the given type as the response body.
|
void |
Response.sendFile(Background background,
String contentType,
Path file)
Sends the response, using the given content type and the content of the given type as the response body.
|