public class UriPrefixer extends Object
| Constructor and Description |
|---|
UriPrefixer(String uriPrefix)
Construct URI prefixer using given URI prefix (just hostname and port is used)
|
UriPrefixer(URI uriPrefix)
Construct URI prefixer using given URI prefix (just hostname and port is used)
|
| Modifier and Type | Method and Description |
|---|---|
URI |
getUriPrefix()
Get the URI prefix
|
URI |
mergeUris(String uri)
Return merged URI prefix (hostname and port) with the given URI string (path, query, and fragment URI parts)
|
URI |
mergeUris(URI uri)
Return merged URI prefix (hostname and port) with the given URI (path, query, and fragment URI parts)
|
public UriPrefixer(URI uriPrefix)
uriPrefix - the URI prefixpublic UriPrefixer(String uriPrefix)
uriPrefix - the URI prefix stringpublic URI getUriPrefix()
public URI mergeUris(URI uri)
uri - the URI its parts (path, query, and fragment) will be merged with URI prefixCopyright © 2014. All Rights Reserved.