Package | Description |
---|---|
ratpack.exec |
The execution management.
|
ratpack.func |
General functional (i.e. Single Abstract Method) types.
|
ratpack.pac4j |
Integration with pac4j for authentication/authorization.
|
ratpack.rx |
Provides integration with the RxJava library.
|
ratpack.session |
Objects for providing
Session support. |
ratpack.test.exec |
Modifier and Type | Method and Description |
---|---|
default Operation |
Operation.next(Block operation) |
default Operation |
Operation.next(Operation operation) |
static Operation |
Operation.noop() |
static Operation |
Operation.of(Block block) |
Operation |
Operation.onError(Action<? super Throwable> onError) |
static Operation |
Blocking.op(Block block) |
default Operation |
Promise.operation() |
default Operation |
Promise.operation(Action<? super T> action) |
default Operation |
Operation.wiretap(Action<? super Optional<? extends Throwable>> action) |
Modifier and Type | Method and Description |
---|---|
default Operation |
Operation.next(Operation operation) |
Modifier and Type | Method and Description |
---|---|
default Promise<T> |
Promise.nextOp(Function<? super T,? extends Operation> function)
Executes the operation returned by the given function.
|
default <O> O |
Operation.to(Function<? super Operation,? extends O> function) |
Modifier and Type | Method and Description |
---|---|
default Operation |
Block.operation()
Creates an
Operation from this block. |
Modifier and Type | Method and Description |
---|---|
static Operation |
RatpackPac4j.logout(Context ctx)
Logs out the current user, removing their profile from the session.
|
Modifier and Type | Method and Description |
---|---|
static Observable<Void> |
RxRatpack.observe(Operation operation)
Converts a
Operation into an Observable . |
Modifier and Type | Method and Description |
---|---|
default Operation |
Session.clear()
A convenience shorthand for
SessionData.clear() . |
Operation |
SessionStore.remove(AsciiString sessionId)
Removes the session data for the given id.
|
default Operation |
Session.remove(Class<?> type)
A convenience shorthand for
SessionData.remove(Class) . |
default Operation |
Session.remove(SessionKey<?> key)
A convenience shorthand for
SessionData.remove(SessionKey) . |
default Operation |
Session.remove(String name)
A convenience shorthand for
SessionData.remove(String) . |
Operation |
Session.save()
Persists the session data.
|
default Operation |
SessionData.save()
See
Session.save() . |
default <T> Operation |
Session.set(Class<T> type,
T value)
A convenience shorthand for
SessionData.set(Class, Object) . |
default <T> Operation |
Session.set(Class<T> type,
T value,
SessionSerializer serializer)
A convenience shorthand for
SessionData.set(Class, Object, SessionSerializer) . |
default <T> Operation |
Session.set(SessionKey<T> key,
T value)
A convenience shorthand for
SessionData.set(SessionKey, Object) . |
default <T> Operation |
Session.set(SessionKey<T> key,
T value,
SessionSerializer serializer)
A convenience shorthand for
SessionData.set(SessionKey, Object, SessionSerializer) . |
default <T> Operation |
Session.set(String name,
T value)
A convenience shorthand for
SessionData.set(String, Object) . |
default <T> Operation |
Session.set(String name,
T value,
SessionSerializer serializer)
A convenience shorthand for
SessionData.set(String, Object, SessionSerializer) . |
default <T> Operation |
Session.set(T value)
A convenience shorthand for
SessionData.set(Object) . |
default <T> Operation |
Session.set(T value,
SessionSerializer serializer)
A convenience shorthand for
SessionData.set(Object, SessionSerializer) . |
Operation |
SessionStore.store(AsciiString sessionId,
ByteBuf sessionData)
Writes the session data for the given id.
|
Operation |
Session.terminate()
Terminates the session and session id.
|
default Operation |
SessionData.terminate()
See
Session.terminate() . |
Modifier and Type | Method and Description |
---|---|
default void |
ExecHarness.execute(Operation operation) |
static void |
ExecHarness.executeSingle(Operation operation) |
Modifier and Type | Method and Description |
---|---|
default void |
ExecHarness.execute(Function<? super Execution,? extends Operation> function) |
static void |
ExecHarness.executeSingle(Function<? super Execution,? extends Operation> function) |