Module io.helidon.service.registry
Package io.helidon.service.registry
Interface Interception.Interceptor
- All Known Subinterfaces:
 Interception.ElementInterceptor
- All Known Implementing Classes:
 FtSupport.AsyncMethod,FtSupport.BulkheadMethod,FtSupport.CircuitBreakerMethod,FtSupport.FallbackMethod,FtSupport.RetryMethod,FtSupport.TimeoutMethod
- Enclosing class:
 Interception
Implementors of this contract must be 
Service.Named
 according to the Interception.Intercepted annotation they support.- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceRepresents the next in line for interception, terminating with a call to the service instance. - 
Method Summary
Modifier and TypeMethodDescription<V> Vproceed(InterceptionContext ctx, Interception.Interceptor.Chain<V> chain, Object... args) Called during interception of the target V. 
- 
Method Details
- 
proceed
<V> V proceed(InterceptionContext ctx, Interception.Interceptor.Chain<V> chain, Object... args) throws Exception Called during interception of the target V. The implementation typically should finish with the call toInterception.Interceptor.Chain.proceed(java.lang.Object[]).- Type Parameters:
 V- the return value type (orVoidfor void method elements)- Parameters:
 ctx- the invocation contextchain- the chain to call proceed onargs- the arguments to the call- Returns:
 - the return value to the caller
 - Throws:
 Exception- if there are any checked exceptions thrown by the underlying method, or any runtime exception thrown
 
 -