Class InterceptorPriorities

java.lang.Object
io.helidon.grpc.core.InterceptorPriorities

public class InterceptorPriorities extends Object
Constants that represent a priority ordering that interceptors registered with a gRPC service or method will be applied.
  • Field Details

    • CONTEXT

      public static final int CONTEXT
      Context priority.

      Interceptors with this priority typically only perform tasks such as adding state to the call Context.

      See Also:
    • TRACING

      public static final int TRACING
      Tracing priority.

      Tracing and metrics interceptors are typically applied after any context interceptors so that they can trace and gather metrics on the whole call stack of remaining interceptors.

      See Also:
    • AUTHENTICATION

      public static final int AUTHENTICATION
      Security authentication priority.
      See Also:
    • AUTHORIZATION

      public static final int AUTHORIZATION
      Security authorization priority.
      See Also:
    • USER

      public static final int USER
      User-level priority. This value is also used as a default priority for application-supplied interceptors.
      See Also: