|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap
java.util.HashMap
com.filenet.wcm.toolkit.server.util.WcmRequestMap
WcmRequestMap can be used to store all request parameters found on an HttpServletRequest object. WcmParameter.EVENT_NAME and WcmParameter.EVENT_TARGET are automatically stripped when setting values via the putAll method. This helper class is used in Workplace by authentication to pass extra parameters through the authentication process.
Constructor Summary | |
WcmRequestMap()
|
|
WcmRequestMap(java.util.Map parameterMap)
Constructor to initialize WcmRequestMap with the parameters contained in parameterMap. |
|
WcmRequestMap(java.util.Map parameterMap,
boolean sorted)
|
Method Summary | |
java.lang.String |
getParameter(java.lang.String key)
Get a parameter String value from the map. |
static java.lang.String |
getString(java.util.Map map,
java.lang.String key)
|
protected java.lang.String |
getString(java.lang.Object item)
Get a value from the map, based on the passed in key object. |
protected void |
initialize(java.util.Map parameterMap)
|
void |
putAll(java.util.Map t)
Copy all entries in the specified map into this map. |
java.lang.String |
removeParameter(java.lang.String key)
Remove the key/value if it exists in the map. |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Constructor Detail |
public WcmRequestMap()
public WcmRequestMap(java.util.Map parameterMap)
parameterMap
- public WcmRequestMap(java.util.Map parameterMap, boolean sorted)
Method Detail |
protected void initialize(java.util.Map parameterMap)
protected java.lang.String getString(java.lang.Object item)
item
- - the key to look up.
public static java.lang.String getString(java.util.Map map, java.lang.String key)
public java.lang.String getParameter(java.lang.String key)
key
- - the key value.
public java.lang.String removeParameter(java.lang.String key)
key
- - the key value.
public void putAll(java.util.Map t)
t
- - The request objects parameter map.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |