Class RequestProcessingContextReference
- java.lang.Object
-
- org.glassfish.jersey.server.internal.process.RequestProcessingContextReference
-
- All Implemented Interfaces:
Supplier<RequestProcessingContext>,Ref<RequestProcessingContext>,Settable<RequestProcessingContext>,Value<RequestProcessingContext>
public class RequestProcessingContextReference extends Object implements Ref<RequestProcessingContext>
Wrapper that holds the reference of theRequestProcessingContext. 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.- Author:
- Petr Bouda
-
-
Constructor Summary
Constructors Constructor Description RequestProcessingContextReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestProcessingContextget()voidset(RequestProcessingContext processingContext)
-
-
-
Method Detail
-
set
public void set(RequestProcessingContext processingContext)
- Specified by:
setin interfaceSettable<RequestProcessingContext>
-
get
public RequestProcessingContext get()
- Specified by:
getin interfaceSupplier<RequestProcessingContext>- Specified by:
getin interfaceValue<RequestProcessingContext>
-
-