T
- the result type@API(status=EXPERIMENTAL,
since="5.5")
public static interface InvocationInterceptor.Invocation<T>
Throwable
.
This interface is not intended to be implemented by clients.
Modifier and Type | Method and Description |
---|---|
T |
proceed()
Proceed with this invocation.
|
default void |
skip()
Explicitly skip this invocation.
|
T proceed() throws Throwable
null
.Throwable
- in case the invocation failed@API(status=EXPERIMENTAL, since="5.6") default void skip()
This allows to bypass the check that proceed()
must be
called at least once. The default implementation does nothing.
Copyright © 2020. All rights reserved.