|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.util.string.UrlUtils
public class UrlUtils
Various url utilities
| Method Summary | |
|---|---|
static boolean |
isRelative(java.lang.String url)
Checks if the url is relative or absolute |
static java.lang.String |
rewriteToContextRelative(java.lang.String url,
Request request)
Rewrites a relative url to be context relative, leaves absolute urls same. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isRelative(java.lang.String url)
url -
true if url is relative, false otherwise
public static java.lang.String rewriteToContextRelative(java.lang.String url,
Request request)
url - request -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||