Package io.stargate.sgv2.api.common
Class StargateRequestInfo
java.lang.Object
io.stargate.sgv2.api.common.StargateRequestInfo
The request information containing the tenant ID and the Cassandra key, and the eagerly created
StargateBridge to be used in this request. This bean is @RequestScoped.
Uses the registered TenantResolver and CassandraTokenResolver to optionally
resolve the tenant ID and the Cassandra token.
-
Constructor Summary
ConstructorsConstructorDescriptionStargateRequestInfo(io.vertx.ext.web.RoutingContext routingContext, javax.ws.rs.core.SecurityContext securityContext, StargateBridge bridge, javax.enterprise.inject.Instance<TenantResolver> tenantResolver, javax.enterprise.inject.Instance<CassandraTokenResolver> tokenResolver) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
StargateRequestInfo
@Inject public StargateRequestInfo(io.vertx.ext.web.RoutingContext routingContext, javax.ws.rs.core.SecurityContext securityContext, StargateBridge bridge, javax.enterprise.inject.Instance<TenantResolver> tenantResolver, javax.enterprise.inject.Instance<CassandraTokenResolver> tokenResolver)
-
-
Method Details
-
getTenantId
-
getCassandraToken
-
getStargateBridge
-