|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.protocol.http.RequestUtils
public final class RequestUtils
Wicket Http specific utilities class.
Method Summary | |
---|---|
static void |
decodeParameters(java.lang.String queryString,
PageParameters params)
Decode the provided queryString as a series of key/ value pairs and set them in the provided value map. |
static java.nio.charset.Charset |
getCharset(javax.servlet.http.HttpServletRequest request)
|
static java.lang.String |
removeDoubleDots(java.lang.String path)
Remove occurrences of ".." from the path |
static java.lang.String |
toAbsolutePath(java.lang.String requestPath,
java.lang.String relativePagePath)
Calculates absolute path to url relative to another absolute url. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void decodeParameters(java.lang.String queryString, PageParameters params)
queryString
- string to decode, uses '&' to separate parameters and '=' to separate key from
valueparams
- parameters map to write the found key/ value pairs topublic static java.lang.String removeDoubleDots(java.lang.String path)
path
-
public static java.lang.String toAbsolutePath(java.lang.String requestPath, java.lang.String relativePagePath)
requestPath
- absolute path.relativePagePath
- path, relative to requestPath
public static java.nio.charset.Charset getCharset(javax.servlet.http.HttpServletRequest request)
request
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |