public class OwParameterMap extends Object
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 and Description |
---|
OwParameterMap()
Constructor
|
OwParameterMap(Map parameterMap_p)
Constructor
|
OwParameterMap(OwParameterMap parameterMap_p)
Deep copy constructor
|
Modifier and Type | Method and Description |
---|---|
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() |
public OwParameterMap()
public OwParameterMap(OwParameterMap parameterMap_p)
parameterMap_p
- public 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
- Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.