public interface Execution extends MutableRegistry, ExecControl
ExecController.start(ratpack.func.Action).
The handling of a request is an example of a logical execution.
An execution can be asynchronous, and may be executed by more than one thread, but never in parallel. Ratpack serializes the execution segments of an execution.
| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptor(ExecInterceptor execInterceptor,
Action<? super Execution> continuation) |
void |
complete() |
ExecController |
getController() |
void |
onComplete(Runnable runnable) |
void |
setErrorHandler(Action<? super Throwable> errorHandler) |
register, register, registerLazy, removeall, each, first, get, get, getAll, getAll, maybeGet, maybeGetblocking, promisevoid addInterceptor(ExecInterceptor execInterceptor, Action<? super Execution> continuation) throws Exception
ExceptionExecController getController()
void complete()
void onComplete(Runnable runnable)