Uses of Interface
com.sap.cds.services.runtime.RequestContextRunner
-
Uses of RequestContextRunner in com.sap.cds.services.runtime
Modifier and TypeMethodDescriptionRequestContextRunner.anonymousUser()
Sets theUserInfo
for theRequestContext
to the anonymous user.RequestContextRunner.clearMessages()
Resets theMessages
for theRequestContext
being opened.RequestContextRunner.clearParameters()
Resets theParameterInfo
for theRequestContext
being opened.default RequestContextRunner
RequestContextRunner.clearUser()
Resets theUserInfo
for theRequestContext
being opened.RequestContextRunner.featureToggles
(FeatureTogglesInfo featureTogglesInfo) Sets a dedicatedFeatureTogglesInfo
for theRequestContext
being opened.RequestContextRunner.modifyParameters
(Consumer<ModifiableParameterInfo> contextParameters) Opens aRequestContext
with an adaptedParameterInfo
.RequestContextRunner.modifyUser
(Consumer<ModifiableUserInfo> contextUser) Opens aRequestContext
with an adaptedUserInfo
.RequestContextRunner.parameters
(ParameterInfo parameterInfo) Sets a dedicatedParameterInfo
for theRequestContext
being opened.RequestContextRunner.privilegedUser()
Sets theUserInfo
for theRequestContext
to the internal privileged user who passes all authorization checks.RequestContextRunner.providedParameters()
RequestContextRunner.providedUser()
CdsRuntime.requestContext()
Starts a newRequestContext
which defines the context of parameters (reflecting the user, request parameters etc.)Sets a dedicatedUserInfo
for theRequestContext
being opened.