public class HystrixRequestContextFacade extends AbstractRequestContextFacade
AbstractRequestContextFacade
that relies on HystrixRequestVariableDefault
to manage
RequestContext
s.Constructor and Description |
---|
HystrixRequestContextFacade() |
Modifier and Type | Method and Description |
---|---|
Optional<RequestContext> |
getCurrentRequestContext()
Returns the current
RequestContext , if present. |
void |
removeCurrentContext()
Removes the current
RequestContext . |
void |
setCurrentContext(RequestContext requestContext)
Sets the current
RequestContext . |
getCurrentRequest
@Nonnull public Optional<RequestContext> getCurrentRequestContext()
RequestContext
, if present.Optional
of the current RequestContext
.public void setCurrentContext(RequestContext requestContext)
RequestContext
.public void removeCurrentContext()
RequestContext
.Copyright © 2019 SAP SE. All rights reserved.