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 | Method and Description |
---|---|
ExecContext |
ExecContext.Supplier.get()
The current effective execution context.
|
ExecContext |
ExecContext.getContext()
Returns
this . |
ExecContext |
ExecController.getContext()
Provides the current context on the current thread.
|
ExecContext |
ExecException.getContext()
The execution context at the time that the exception occurred.
|
Modifier and Type | Method and Description |
---|---|
void |
ExecErrorHandler.error(ExecContext execContext,
Exception exception) |
static ExecException |
ExecException.wrap(ExecContext context,
Throwable throwable)
Converts, if necessary, the given
throwable into an ExecException . |
static void |
ExecException.wrapAndForward(ExecContext context,
Throwable throwable)
|
Modifier and Type | Method and Description |
---|---|
void |
ExecController.exec(ExecContext.Supplier execContextSupplier,
Action<? super ExecContext> action) |
Constructor and Description |
---|
ExecException(ExecContext context,
Throwable exception)
Constructor.
|
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(ExecContext 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(ExecContext execContext,
Path file)
Sends the response, using the given content type and the content of the given type as the response body.
|