|
||||||||||
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 String |
decode(String path)
Deprecated. Use WicketURLDecoder instead. |
static void |
decodeParameters(String queryString,
ValueMap params)
Decode the provided queryString as a series of key/ value pairs and set them in the provided value map. |
static void |
decodeUrlParameters(String queryString,
Map<String,String[]> parameters)
decores url parameters form queryString into
parameters map |
static String |
encode(String value)
Deprecated. Use WicketURLEncoder instead. |
static String |
toAbsolutePath(String relativePagePath)
Calculates absolute path to url relative to another absolute url. |
static String |
toAbsolutePath(String requestPath,
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(String queryString, ValueMap 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 void decodeUrlParameters(String queryString, Map<String,String[]> parameters)
queryString
into
parameters
map
queryString
- parameters
- @Deprecated public static String decode(String path)
WicketURLDecoder
instead.
path
-
@Deprecated public static String encode(String value)
WicketURLEncoder
instead.
value
-
public static final String toAbsolutePath(String relativePagePath)
relativePagePath
- path, relative to requestPath
public static final String toAbsolutePath(String requestPath, String relativePagePath)
RequestCycle
threadlocal
requestPath
- absolute path.relativePagePath
- path, relative to requestPath
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |