public interface ContextValue
For example, a value may be an EL expression be evaluated, or a key whose value must be hidden.
| Modifier and Type | Method and Description |
|---|---|
default ContextValue |
inContext()
Provide a new child context, allowing access to parent context objects,
but encapsulating any new objects put in the child context
|
default String |
map(String key,
String value)
Given a key and value, obtain a (possibly modified) value.
|
default ContextValue |
put(String key,
Object value)
Add a named object to the context.
|
default String map(String key, String value)
key - a keyvalue - a valuedefault ContextValue put(String key, Object value)
key - the key to access the objectvalue - the objectdefault ContextValue inContext()
Copyright © 2021. All rights reserved.