|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.springlayout.web.util.RequestUtilSupport
public class RequestUtilSupport
Supports Spring's RequestUtils providing variations to the standard requestUtils Methods
Constructor Summary | |
---|---|
RequestUtilSupport()
|
Method Summary | |
---|---|
static java.lang.Integer |
getIntegerParameter(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
boolean allowEmpty)
Gets an Integer parameter from the request with the option of preventing an empty value for the parameter throwing an exception but returning null instead. |
static java.lang.Long |
getLongParameter(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
boolean allowEmpty)
Gets a Long parameter from the request with the option of preventing an empty value for the parameter throwing an exception but returning null instead. |
static java.util.Map |
getStateMapForUrl(java.util.Map stateMap)
Converts a statemap for use in urls by removing params that should not be reflected in the url. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestUtilSupport()
Method Detail |
---|
public static java.lang.Integer getIntegerParameter(javax.servlet.http.HttpServletRequest request, java.lang.String name, boolean allowEmpty) throws org.springframework.web.bind.ServletRequestBindingException
request
- name
- allowEmpty
-
org.springframework.web.bind.ServletRequestBindingException
public static java.lang.Long getLongParameter(javax.servlet.http.HttpServletRequest request, java.lang.String name, boolean allowEmpty) throws org.springframework.web.bind.ServletRequestBindingException
request
- name
- allowEmpty
-
org.springframework.web.bind.ServletRequestBindingException
public static java.util.Map getStateMapForUrl(java.util.Map stateMap)
map
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |