public class DefaultUrlResolver extends java.lang.Object implements UrlResolver
| Constructor and Description |
|---|
DefaultUrlResolver() |
DefaultUrlResolver(boolean completeRelativeUrl) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
compute(java.lang.String url,
WebContext context)
Compute a new URL from the provided URL and the web context.
|
boolean |
isCompleteRelativeUrl() |
void |
setCompleteRelativeUrl(boolean completeRelativeUrl) |
public DefaultUrlResolver()
public DefaultUrlResolver(boolean completeRelativeUrl)
public java.lang.String compute(java.lang.String url,
WebContext context)
UrlResolvercompute in interface UrlResolverurl - the provided URLcontext - the web contextpublic boolean isCompleteRelativeUrl()
public void setCompleteRelativeUrl(boolean completeRelativeUrl)
Copyright © 2019. All Rights Reserved.