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