Module io.helidon.service.registry
Package io.helidon.service.registry
Interface Interception.Interceptor.Chain<V>
- Type Parameters:
V
- the return value
- Enclosing interface:
Interception.Interceptor
public static interface Interception.Interceptor.Chain<V>
Represents the next in line for interception, terminating with a call to the service instance.
-
Method Summary
-
Method Details
-
proceed
Call the next interceptor in line, or finish with the call to the service being intercepted. Note that that arguments are passed by reference to each interceptor ultimately leading up to the final call to the underlying intercepted target. Callers can mutate the arguments passed directly on the provided array instance.- Parameters:
args
- the arguments passed- Returns:
- the result of the call
- Throws:
Exception
- may throw any checked exceptions thrown by the underlying method, or any runtime exception thrown
-