Uses of Interface
ratpack.exec.Result
-
Packages that use Result Package Description ratpack.exec The execution management. -
-
Uses of Result in ratpack.exec
Subinterfaces of Result in ratpack.exec Modifier and Type Interface Description interface
ExecResult<T>
The result of an execution.Methods in ratpack.exec that return Result Modifier and Type Method Description static <T> Result<T>
Result. error(Throwable error)
Creates a new error result.static <T> Result<T>
Result. success(T value)
Creates a new successful result.Methods in ratpack.exec with parameters of type Result Modifier and Type Method Description default void
Downstream. accept(Result<? extends T> result)
Signals this downstream, based on the given result.static <T> ExecResult<T>
ExecResult. of(Result<T> result)
Wraps the given result as an exec result.Method parameters in ratpack.exec with type arguments of type Result Modifier and Type Method Description default Promise<T>
Promise. wiretap(Action<? super Result<T>> listener)
Registers a listener for the promise outcome.
-