public final class CurrentRequestVersion
extends java.lang.Object
Version" for the
request.
This is not intended as a general mechanism for passing data. Rather it is here to support those cases where someplace deep in a library we need to know about the context of the request that initially triggered the current request.
| Modifier and Type | Method and Description |
|---|---|
static Version |
get()
Gets the current
Version
Will return null if no current version has been set. |
static void |
set(Version version)
Sets the current
Version. |