| Package | Description |
|---|---|
| ratpack.exec | |
| ratpack.handling |
The handling of application requests.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Fulfillment<T>
Convenience base for
Action<Fulfiller<T>> implementations. |
| Modifier and Type | Method and Description |
|---|---|
void |
Fulfillment.execute(Fulfiller<T> fulfiller)
Delegates to
Fulfillment.execute(), using the given fulfiller for delegation. |
| Modifier and Type | Method and Description |
|---|---|
<T> Promise<T> |
ExecContext.promise(Action<? super Fulfiller<T>> action)
Creates a promise for an asynchronously created value.
|
<T> Promise<T> |
ExecControl.promise(Action<? super Fulfiller<T>> action)
Creates a promise for an asynchronously created value.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Promise<T> |
Context.promise(Action<? super Fulfiller<T>> action)
Creates a promise of a value that will made available asynchronously.
|