|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.webed.impl.utils.ReqParamUtils
public final class ReqParamUtils
INTERNAL: Utility class for providing helper methods handling servlet request parameters (mainly for string manipulation purposes).
| Constructor Summary | |
|---|---|
ReqParamUtils()
|
|
| Method Summary | |
|---|---|
static Parameters |
decodeParameters(javax.servlet.http.HttpServletRequest request,
String charenc)
INTERNAL: Builds the Parameters object from an HttpServletRequest object. |
static String |
params2URLQuery(Map extraReqParams,
Parameters reqparams,
String charenc)
INTERNAL: Generate string which can be used to append to an URL. |
static Map |
parseURLQuery(String url)
INTERNAL: Parses the query part of a URL to extract the parameter names and values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReqParamUtils()
| Method Detail |
|---|
public static final String params2URLQuery(Map extraReqParams,
Parameters reqparams,
String charenc)
throws IOException
extraReqParams Map object.
charenc - the character encoding to use in the URL
IOExceptionpublic static Map parseURLQuery(String url)
public static Parameters decodeParameters(javax.servlet.http.HttpServletRequest request,
String charenc)
throws javax.servlet.ServletException,
IOException
javax.servlet.ServletException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||