Annotation Interface InterceptorOrder


@Target(TYPE) @Retention(RUNTIME) public @interface InterceptorOrder
Annotation that can be applied to interceptors to control their order of execution in the InterceptorChain
The lower the number the higher the priority.
An interceptor with order 1 will be invoked before an interceptor with order 10.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    The interceptor order.
  • Element Details

    • value

      int value
      The interceptor order. The lower the number the higher the priority.
      An interceptor with order 1 will be invoked before an interceptor with order 10.
      Returns:
      Default:
      10