|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.xmlserv.util.ServletUtil
Constructor Summary | |
ServletUtil()
|
Method Summary | |
static boolean |
getBoolean(javax.servlet.http.HttpServletRequest req,
java.lang.String parameter)
Return a boolean value: true if the parameter was set and its value has length() ! |
static int |
getInteger(javax.servlet.http.HttpServletRequest req,
java.lang.String parameter)
Return the given parameters value converted to an integer or -1 if not set. |
static java.lang.String |
getString(javax.servlet.http.HttpServletRequest req,
java.lang.String parameter)
Return the parameter value or an empty String. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServletUtil()
Method Detail |
public static java.lang.String getString(javax.servlet.http.HttpServletRequest req, java.lang.String parameter)
public static int getInteger(javax.servlet.http.HttpServletRequest req, java.lang.String parameter)
public static boolean getBoolean(javax.servlet.http.HttpServletRequest req, java.lang.String parameter)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |