Package dk.cloudcreate.essentials.shared.interceptor
package dk.cloudcreate.essentials.shared.interceptor
-
ClassDescriptionDefaultInterceptorChain<OPERATION,
RESULT, INTERCEPTOR_TYPE extends Interceptor> Default implementation for theInterceptorChain.Each interceptor, configured on the method allows you to perform before, after or around interceptor logic according to your needs.
TheInterceptoris built around supporting Intercepting specific Operations, where an Operation is determined by the user of the Interceptor.InterceptorChain<OPERATION,RESULT, INTERCEPTOR_TYPE extends Interceptor> Generic interceptor chain concept that supports intercepting concreteInterceptoroperations to modify the behaviour or add to the default behaviourAnnotation that can be applied to interceptors to control their order of execution in theInterceptorChain
The lower the number the higher the priority.
An interceptor with order 1 will be invoked before an interceptor with order 10.