public class RequestContextRunnerImpl extends Object implements RequestContextRunner
| Constructor and Description |
|---|
RequestContextRunnerImpl(CdsRuntime cdsRuntime) |
| Modifier and Type | Method and Description |
|---|---|
RequestContextRunner |
anonymousUser() |
RequestContextRunner |
clearMessages() |
RequestContextRunner |
clearParameters() |
RequestContextRunner |
modifyParameters(Consumer<ModifiableParameterInfo> contextParamters) |
RequestContextRunner |
modifyUser(Consumer<ModifiableUserInfo> contextUser) |
RequestContextRunner |
parameters(ParameterInfo parameterInfo) |
RequestContextRunner |
privilegedUser() |
RequestContextRunner |
providedParameters() |
RequestContextRunner |
providedUser() |
void |
run(Consumer<RequestContext> requestHandler) |
<T> T |
run(Function<RequestContext,T> requestHandler) |
RequestContextRunner |
user(UserInfo userInfo) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearUserpublic RequestContextRunnerImpl(@Nullable CdsRuntime cdsRuntime)
public RequestContextRunner user(UserInfo userInfo)
user in interface RequestContextRunnerpublic RequestContextRunner anonymousUser()
anonymousUser in interface RequestContextRunnerpublic RequestContextRunner providedUser()
providedUser in interface RequestContextRunnerpublic RequestContextRunner privilegedUser()
privilegedUser in interface RequestContextRunnerpublic RequestContextRunner modifyUser(Consumer<ModifiableUserInfo> contextUser)
modifyUser in interface RequestContextRunnerpublic RequestContextRunner parameters(ParameterInfo parameterInfo)
parameters in interface RequestContextRunnerpublic RequestContextRunner clearParameters()
clearParameters in interface RequestContextRunnerpublic RequestContextRunner providedParameters()
providedParameters in interface RequestContextRunnerpublic RequestContextRunner modifyParameters(Consumer<ModifiableParameterInfo> contextParamters)
modifyParameters in interface RequestContextRunnerpublic RequestContextRunner clearMessages()
clearMessages in interface RequestContextRunnerpublic void run(Consumer<RequestContext> requestHandler)
run in interface RequestContextRunnerpublic <T> T run(Function<RequestContext,T> requestHandler)
run in interface RequestContextRunnerCopyright © 2021. All rights reserved.