Package org.apache.struts.chain.contexts
Class ContextWrapper
java.lang.Object
org.apache.struts.chain.contexts.ContextWrapper
- Direct Known Subclasses:
ActionContextBase
Provide a base class for any Context Implementation which is primarily
intended for use in a subchain.
Classes which extend ContextWrapper
may implement typesafe
property methods which also leave their values in the underlying
context.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionContextWrapper
(Context context) Instantiate object as a composite around the given Context. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
ContextWrapper
Instantiate object as a composite around the given Context.
- Parameters:
context
- Context instance to wrap
-
-
Method Details
-
getBaseContext
Provide the underlying Context for this composite.- Returns:
- The underlying Context
-
entrySet
-
keySet
-
values
-
clear
public void clear() -
putAll
-
remove
-
put
-
get
-
containsValue
- Specified by:
containsValue
in interfaceMap<String,
Object>
-
containsKey
- Specified by:
containsKey
in interfaceMap<String,
Object>
-
isEmpty
public boolean isEmpty() -
size
public int size()
-