Package akka.javasdk.http
Interface RequestContext
- All Superinterfaces:
Context
Not for user extension, can be injected as constructor parameter into HTTP endpoint components or
accessible from
AbstractHttpEndpoint.requestContext()
if the endpoint class extends
`AbstractHttpEndpoint`.-
Method Summary
Modifier and TypeMethodDescriptionGet the principals associated with this request.tracing()
Access to tracing for custom app specific tracing.
-
Method Details
-
getPrincipals
Principals getPrincipals()Get the principals associated with this request.- Returns:
- The principals associated with this request.
-
getJwtClaims
JwtClaims getJwtClaims()- Returns:
- The JWT claims, if any, associated with this request.
-
tracing
Tracing tracing()Access to tracing for custom app specific tracing.
-