Package | Description |
---|---|
com.sap.cds.services.runtime |
Modifier and Type | Method and Description |
---|---|
RequestContextRunner |
RequestContextRunner.anonymousUser()
Sets the
UserInfo for the RequestContext to the anonymous user. |
RequestContextRunner |
RequestContextRunner.clearMessages()
Resets the
Messages for the RequestContext being opened. |
RequestContextRunner |
RequestContextRunner.clearParameters()
Resets the
ParameterInfo for the RequestContext being opened. |
default RequestContextRunner |
RequestContextRunner.clearUser()
Resets the
UserInfo for the RequestContext being opened. |
RequestContextRunner |
RequestContextRunner.modifyParameters(Consumer<ModifiableParameterInfo> contextParameters)
Opens a
RequestContext with an adapted ParameterInfo . |
RequestContextRunner |
RequestContextRunner.modifyUser(Consumer<ModifiableUserInfo> contextUser)
Opens a
RequestContext with an adapted UserInfo . |
RequestContextRunner |
RequestContextRunner.parameters(ParameterInfo parameterInfo)
Sets a dedicated
ParameterInfo for the RequestContext being opened. |
RequestContextRunner |
RequestContextRunner.privilegedUser()
Sets the
UserInfo for the RequestContext to the internal privileged user who passes all authorization checks. |
RequestContextRunner |
RequestContextRunner.providedParameters()
|
RequestContextRunner |
RequestContextRunner.providedUser()
|
RequestContextRunner |
CdsRuntime.requestContext()
Starts a new
RequestContext which defines the context of parameters (reflecting the user, request parameters etc.) |
RequestContextRunner |
RequestContextRunner.user(UserInfo userInfo)
Sets a dedicated
UserInfo for the RequestContext being opened. |
Copyright © 2021. All rights reserved.