public class RawPathUtil extends Object
RootMountedUrlCodingStrategy.accepts(String).
Assumes that the servlet container is configured to work with UTF-8 URLs.
| Constructor and Description |
|---|
RawPathUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
firstPathPath(String rawPath)
Decode and give the first path part.
|
static String[] |
splitToPathParts(String rawPath)
Decode and split the path into its path parts.
|
public static String[] splitToPathParts(String rawPath)
rawPath - the raw request path (can be empty or null)org.apache.wicket.protocol.http.request.InvalidUrlException - when the URL could not be decodedpublic static String firstPathPath(String rawPath)
rawPath - the raw request path (can be empty or null)org.apache.wicket.protocol.http.request.InvalidUrlException - when the URL could not be decodedCopyright © 2013. All Rights Reserved.