| Package | Description |
|---|---|
| ratpack.exec | |
| ratpack.groovy.handling |
Groovy specific extensions to classes in the
ratpack.handling package. |
| ratpack.handling |
The handling of application requests.
|
| ratpack.http |
The HTTP protocol.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Execution
Represents the logical execution of task, started by
ExecController.start(ratpack.func.Action). |
| Modifier and Type | Method and Description |
|---|---|
ExecControl |
ExecController.getControl()
A singleton that can be used from any managed thread to perform asynchronous or blocking operations.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
GroovyContext
Subclass of
Context that adds Groovy friendly variants of methods. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Context
The context of an individual
Handler invocation. |
| Modifier and Type | Method and Description |
|---|---|
void |
Response.sendFile(ExecControl execContext,
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(ExecControl execContext,
Path file)
Sends the response, using the given content type and the content of the given type as the response body.
|