Package org.apache.wicket.request
Interface IUrlRenderer
-
public interface IUrlRenderer
An interface that a Url can implement if it knows how to render itself as full url or relative to a base url
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
renderFullUrl(Url url, Url baseUrl)
Renders the passed url as full/absolute.String
renderRelativeUrl(Url url, Url baseUrl)
Renders the passed url as relative to a base url.
-
-
-
Method Detail
-
renderFullUrl
String renderFullUrl(Url url, Url baseUrl)
Renders the passed url as full/absolute.- Parameters:
url
- the url to render as fullbaseUrl
- the url of the currently rendered page- Returns:
- The full url.
-
renderRelativeUrl
String renderRelativeUrl(Url url, Url baseUrl)
Renders the passed url as relative to a base url.- Parameters:
url
- the url to render as relativebaseUrl
- the url of the currently rendered page- Returns:
- The relative url.
-
-