public class RelativeUrlResolver extends Object implements UrlResolver
Constructor and Description |
---|
RelativeUrlResolver() |
Modifier and Type | Method and Description |
---|---|
String |
compute(String url,
WebContext context)
Compute a new URL from the provided URL and the web context.
|
public String compute(String url, WebContext context)
UrlResolver
compute
in interface UrlResolver
url
- the provided URLcontext
- the web contextCopyright © 2017. All rights reserved.