public final class ReqParamUtils extends Object
Constructor and Description |
---|
ReqParamUtils() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final String params2URLQuery(Map extraReqParams, Parameters reqparams, String charenc) throws IOException
extraReqParams
Map object.charenc
- the character encoding to use in the URLIOException
public 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