public final class RequestContextAccessor extends Object
Constructor and Description |
---|
RequestContextAccessor() |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Optional<javax.servlet.http.HttpServletRequest> |
getCurrentRequest() |
static com.google.common.base.Optional<RequestContext> |
getCurrentRequestContext() |
static RequestContextFacade |
getRequestContextFacade()
Returns the
RequestContextFacade instance. |
static void |
setRequestContextFacade(RequestContextFacade requestContextFacade)
Replaces the default
RequestContextFacade instance. |
public static void setRequestContextFacade(RequestContextFacade requestContextFacade)
RequestContextFacade
instance. This method is for internal use only.public static com.google.common.base.Optional<RequestContext> getCurrentRequestContext()
RequestContext
of the current request, if present.public static com.google.common.base.Optional<javax.servlet.http.HttpServletRequest> getCurrentRequest()
HttpServletRequest
of the current request, if present.@Generated(value="lombok") public static RequestContextFacade getRequestContextFacade()
RequestContextFacade
instance. For internal use only.Copyright © 2017 SAP SE. All rights reserved.