@ThreadSafe public final class MultiPartSchemeURI extends StandardURI
MultiPartSchemeURI
supports multiple components for the scheme.URI.Factory
mAuthority, mHashCode, mPath, mQuery, mScheme, mSchemeSpecificPart
Modifier | Constructor and Description |
---|---|
|
MultiPartSchemeURI(String schemePrefix,
String scheme,
Authority authority,
String path,
String query) |
protected |
MultiPartSchemeURI(URI baseUri,
String fullScheme,
String newPath)
Constructs a new URI from a base URI, but with a new path component.
|
Modifier and Type | Method and Description |
---|---|
URI |
createNewPath(String newPath,
boolean checkNormalization) |
String |
getScheme() |
compareTo, equals, getAuthority, getPath, getQuery, getSchemeSpecificPart, hashCode, isAbsolute
public MultiPartSchemeURI(String schemePrefix, String scheme, Authority authority, String path, String query)
schemePrefix
- the prefix of the scheme string of the URIscheme
- the scheme string of the URIauthority
- the Authority of the URIpath
- the path component of the URIquery
- the query component of the URIpublic URI createNewPath(String newPath, boolean checkNormalization)
createNewPath
in interface URI
createNewPath
in class StandardURI
newPath
- the new path componentcheckNormalization
- if true, will check if the path requires normalizationCopyright © 2023. All Rights Reserved.