Package | Description |
---|---|
ratpack.exec |
The execution management.
|
ratpack.handling |
The handling of application requests.
|
ratpack.test.exec |
Modifier and Type | Method and Description |
---|---|
Execution |
ExecController.getExecution()
Provides the current execution that is bound to the current thread.
|
Modifier and Type | Method and Description |
---|---|
void |
Execution.addInterceptor(ExecInterceptor execInterceptor,
Action<? super Execution> continuation)
Adds an interceptor that wraps the rest of the current execution segment and all future segments of this execution.
|
void |
ExecControl.fork(Action<? super Execution> action)
Forks a new execution on a separate thread.
|
void |
ExecController.start(Action<? super Execution> action)
Initiates a new execution with the given action.
|
Modifier and Type | Method and Description |
---|---|
Execution |
Context.getExecution()
The execution of handling this request.
|
Modifier and Type | Method and Description |
---|---|
void |
Context.fork(Action<? super Execution> action)
Forks a new execution, detached from the current.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
ExecHarness.execute(Function<Execution,Promise<T>> func)
Synchronously returns a promised value.
|