public abstract class OnSuccessRequestStrategy extends InvocationStrategy
Constructor and Description |
---|
OnSuccessRequestStrategy() |
Modifier and Type | Method and Description |
---|---|
protected abstract <R> R |
onSuccess(R r) |
protected <R> R |
wrap(Function<R> f,
java.util.List<java.lang.Object> args)
An operation wrapping origin function.
|
protected abstract <R> R onSuccess(R r)
protected <R> R wrap(Function<R> f, java.util.List<java.lang.Object> args)
InvocationStrategy
wrap
in class InvocationStrategy
R
- an invocation return typef
- an origin functionargs
- function arguments