Package io.helidon.grpc.core
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 Summary
Fields Modifier and Type Field Description static int
AUTHENTICATION
Security authentication priority.static int
AUTHORIZATION
Security authorization priority.static int
CONTEXT
Context priority.static int
TRACING
Tracing priority.static int
USER
User-level priority.
-
-
-
Field Detail
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
AUTHENTICATION
public static final int AUTHENTICATION
Security authentication priority.- See Also:
- Constant Field Values
-
AUTHORIZATION
public static final int AUTHORIZATION
Security authorization priority.- See Also:
- Constant Field Values
-
USER
public static final int USER
User-level priority. This value is also used as a default priority for application-supplied interceptors.- See Also:
- Constant Field Values
-
-