public class Context
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Context |
create()
Static helper method to create an empty Context.
|
java.lang.Object |
get(java.lang.String key)
Returns the value corresponding to the given key.
|
java.lang.Object |
put(java.lang.String key,
java.lang.Object value)
Puts the value into the context with the given key
|
java.lang.Object |
remove(java.lang.String key)
Removes any existing value for the given key from the context.
|
public static Context create()
public java.lang.Object get(java.lang.String key)
key
- public java.lang.Object put(java.lang.String key, java.lang.Object value)
key
- value
- public java.lang.Object remove(java.lang.String key)
key
-