public final class CdiRequestContext extends Object implements org.glassfish.jersey.process.internal.RequestContext
| Modifier and Type | Method and Description |
|---|---|
org.glassfish.jersey.process.internal.RequestContext |
getReference()
Get a "new" reference of the scope instance.
|
void |
release()
Release a single reference to the current request scope instance.
|
String |
toString() |
public org.glassfish.jersey.process.internal.RequestContext getReference()
release() method is explicitly
called (once per each getReference() method call).getReference in interface org.glassfish.jersey.process.internal.RequestContextpublic void release()
Once all instance references are released, the instance will be recycled.
release in interface org.glassfish.jersey.process.internal.RequestContextCopyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.