com.buglabs.osgi.sewing.pub.util
Class RequestParameters
java.lang.Object
com.buglabs.osgi.sewing.pub.util.RequestParameters
public class RequestParameters
- extends java.lang.Object
Wrapper for a map to enforce the types that go into it this gets filled with
the request parameters sent in a get or post and past to the controller's
methods
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQUEST_BODY_PARAM_KEY
public static final java.lang.String REQUEST_BODY_PARAM_KEY
- See Also:
- Constant Field Values
RequestParameters
public RequestParameters()
put
public java.lang.Object put(java.lang.String name,
java.lang.String value)
get
public java.lang.String get(java.lang.String name)
getInnerMap
public java.util.Map getInnerMap()
getFile
public FormFile getFile()
setFile
public void setFile(FormFile file)
add
public void add(RequestParameters params)
- Puts all the request parameters into the current RequestParameters
object.
If the a param has the same key, it comma separates the vals
If the param is a file, it will overwrite the existing file
- Parameters:
params -