|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.plugins.scripting.Context
public class Context
The context in which a response will be rendered to text.
Constructor Summary | |
---|---|
Context()
|
Method Summary | ||
---|---|---|
Context |
add(java.lang.String key,
java.lang.Object value)
Add an additional value to the context. |
|
|
get(java.lang.String key,
java.lang.Class<T> type)
Look up a value from the context. |
|
java.util.Map<java.lang.String,java.lang.Object> |
getAll()
Accessor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Context()
Method Detail |
---|
public final java.util.Map<java.lang.String,java.lang.Object> getAll()
public Context add(java.lang.String key, java.lang.Object value)
key
- The key used to look up the value.value
- The value to store.
public <T> T get(java.lang.String key, java.lang.Class<T> type)
T
- The type of the object in the repository.key
- The key used to look up the value.type
- The type of the value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |