|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.util.paramcodec.OwParameterMap
public class OwParameterMap
Encapsulates a Map
containing parameter names as keys and
parameter values as map values.
The keys in the parameter map are of type String.
The values in the parameter map are of type String array.
It is used to handle HTTP servlet request parameter maps.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor Summary | |
---|---|
OwParameterMap()
Constructor |
|
OwParameterMap(Map parameterMap_p)
Constructor |
|
OwParameterMap(OwParameterMap parameterMap_p)
Deep copy constructor |
Method Summary | |
---|---|
void |
addAll(Map cookieMap_p)
Adds all values of the given Map . |
boolean |
equals(Object obj_p)
|
String |
getParameter(String parameterName_p)
Returns the value of a request parameter as a String, or null if the parameter does not exist. |
Set |
getParameterNames()
|
String[] |
getParameterValues(String parameterName_p)
|
void |
setParameter(String parameterName_p,
String value_p)
Adds the given value to the already existing values of the specifed parameter |
Map |
toRequestParametersMap()
|
String |
toRequestQueryString()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OwParameterMap()
public OwParameterMap(OwParameterMap parameterMap_p)
parameterMap_p
- public OwParameterMap(Map parameterMap_p)
parameterMap_p
- Map
containing parameter names as keys and
parameter values as map values.
The keys in the parameter map must be of type String.
The values in the parameter map must be of type String array.Method Detail |
---|
public Set getParameterNames()
Set
of String parameter namespublic String[] getParameterValues(String parameterName_p)
parameterName_p
-
null
no parameter
with the given name is foundpublic String getParameter(String parameterName_p)
parameterName_p
-
public void setParameter(String parameterName_p, String value_p)
parameterName_p
- value_p
- public Map toRequestParametersMap()
Map
containing parameter names as keys and
parameter values as map values.
The keys in the parameter map are of type String.
The values in the parameter map are of type String array.public String toRequestQueryString()
public void addAll(Map cookieMap_p)
Map
.
The keys in the parameter map must be of type String.
The values in the parameter map must be of type String array.
cookieMap_p
- public boolean equals(Object obj_p)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |