com.hexagonkt.handlers.Handler
public final class OnHandler<T extends Object> implements Handler<T>
private final Function1<Context<T>, Boolean>
predicate
private final Function1<Context<T>, Context<T>>
callback
OnHandler(Function1<Context<T>, Boolean> predicate, Function1<Context<T>, Context<T>> callback)
Function1<Context<T>, Boolean>
getPredicate()
Function1<Context<T>, Context<T>>
getCallback()
Context<T>
process(Context<T> context)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Function1<Context<T>, Boolean> getPredicate()
Function1<Context<T>, Context<T>> getCallback()
Context<T> process(Context<T> context)