public class UrlResolver
extends java.lang.Object
Represents utility class for resolving absolute URL by a Uniform Resource Identifier (URI).
| Constructor and Description |
|---|
UrlResolver() |
| Modifier and Type | Method and Description |
|---|---|
Url |
resolve(java.lang.String baseUri,
java.lang.String relativeUri)
Resolves the absolute URI from the base and relative URIs.
|
Url |
resolve(Url baseUri,
java.lang.String relativeUri)
Resolves the absolute URI from the base and relative URIs.
|
public Url resolve(java.lang.String baseUri, java.lang.String relativeUri)
Resolves the absolute URI from the base and relative URIs.
baseUri - The base URI.relativeUri - The relative URI.