public class RequestProcessingContextReference extends java.lang.Object implements Ref<RequestProcessingContext>
RequestProcessingContext
. This class helps to get the current request scoped
object without wrapping using the proxy. Outer wrapper can be proxied but inner reference object still remains the direct
reference.Modifier and Type | Field and Description |
---|---|
private RequestProcessingContext |
processingContext |
Constructor and Description |
---|
RequestProcessingContextReference() |
Modifier and Type | Method and Description |
---|---|
RequestProcessingContext |
get()
Get the stored value.
|
void |
set(RequestProcessingContext processingContext)
Set a new value.
|
private RequestProcessingContext processingContext
public void set(RequestProcessingContext processingContext)
Settable
set
in interface Settable<RequestProcessingContext>
processingContext
- value to be set.public RequestProcessingContext get()
Value
get
in interface Value<RequestProcessingContext>