java.lang.Object
io.helidon.grpc.core.InterceptorWeights
gRPC interceptor weight classes. Higher weight means higher priority.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Security authentication weight.static final int
Security authorization weight.static final int
Context weight.static final int
Tracing weight.static final int
User-level weight. -
Method Summary
-
Field Details
-
CONTEXT
public static final int CONTEXTContext weight.Interceptors with this weight typically only perform tasks such as adding state to the call
Context
.- See Also:
-
TRACING
public static final int TRACINGTracing 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 AUTHENTICATIONSecurity authentication weight.- See Also:
-
AUTHORIZATION
public static final int AUTHORIZATIONSecurity authorization weight.- See Also:
-
USER
public static final int USERUser-level weight.This value is also used as a default weight for application-supplied interceptors.
- See Also:
-