Class InterceptorWeights

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

public class InterceptorWeights extends Object
gRPC interceptor weight classes. Higher weight means higher priority.
  • Field Details

    • CONTEXT

      public static final int CONTEXT
      Context weight.

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

      See Also:
    • TRACING

      public static final int TRACING
      Tracing weight.

      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 weight.
      See Also:
    • AUTHORIZATION

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

      public static final int USER
      User-level weight.

      This value is also used as a default weight for application-supplied interceptors.

      See Also: