|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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,
java.lang.String charenc)
INTERNAL: Builds the Parameters object from an HttpServletRequest object. |
static java.lang.String |
params2URLQuery(java.util.Map extraReqParams,
Parameters reqparams,
java.lang.String charenc)
INTERNAL: Generate string which can be used to append to an URL. |
static java.util.Map |
parseURLQuery(java.lang.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 java.lang.String params2URLQuery(java.util.Map extraReqParams, Parameters reqparams, java.lang.String charenc) throws java.io.IOException
extraReqParams
Map object.
charenc
- the character encoding to use in the URL
java.io.IOException
public static java.util.Map parseURLQuery(java.lang.String url)
public static Parameters decodeParameters(javax.servlet.http.HttpServletRequest request, java.lang.String charenc) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |