@OpenApiAll
public interface IContext
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<java.lang.String> |
contextKeys()
Finds all the keys of the entry in this context.
|
java.lang.String[] |
contextKeysArray()
Finds all the keys of the entry in this context as array.
|
java.lang.Object |
get(java.lang.String key)
Gets the value corresponding to the provided key from the context.
|
java.lang.Object |
put(java.lang.String key,
java.lang.Object value)
Adds a name/value pair to the context.
|
java.lang.Object |
remove(java.lang.String key)
Removes the value associated with the specified key from the context.
|
void |
removeAll()
Removes all items from this context.
|
java.lang.Object get(java.lang.String key)
key
- The name of the desired value.java.lang.Object put(java.lang.String key, java.lang.Object value)
key
- The name to key the provided value with.value
- The corresponding value.java.lang.Object remove(java.lang.String key)
key
- The name of the value to remove.void removeAll()
java.util.Iterator<java.lang.String> contextKeys()
java.lang.String[] contextKeysArray()
Copyright © 2010 - No Magic Asia