public interface ImplicitContext
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(java.lang.String key)
Check if this key has an associated value in the underlying context.
|
java.lang.String |
get(java.lang.String key)
Get the value associated with the given key in the underlying context.
|
java.util.Map<java.lang.String,java.lang.String> |
getContext()
Get a copy of the underlying context.
|
java.lang.String |
put(java.lang.String key,
java.lang.String value)
Create or update a key/value entry in the underlying context.
|
java.lang.String |
remove(java.lang.String key)
Remove the entry for the given key in the underlying context.
|
void |
setContext(java.util.Map<java.lang.String,java.lang.String> newContext)
Set the underlying context.
|
static final long serialVersionUID
java.util.Map<java.lang.String,java.lang.String> getContext()
void setContext(java.util.Map<java.lang.String,java.lang.String> newContext)
newContext - The new context.boolean containsKey(java.lang.String key)
key - The key.java.lang.String get(java.lang.String key)
containsKey(java.lang.String) allows you to distinguish between an empty-string value and
no value at all.key - The key.java.lang.String put(java.lang.String key,
java.lang.String value)
key - The key.value - The value.java.lang.String remove(java.lang.String key)
key - The key.