@ThreadSafe public class StandardURI extends Object implements URI
URI
.URI.Factory
Constructor and Description |
---|
StandardURI(String scheme,
String authority,
String path,
String query) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(URI other) |
boolean |
equals(Object o) |
String |
getAuthority() |
URI |
getBaseURI() |
String |
getHost() |
String |
getPath() |
int |
getPort() |
String |
getQuery() |
String |
getScheme() |
int |
hashCode() |
boolean |
isAbsolute()
Tells whether or not the
URI is absolute. |
public String getAuthority()
getAuthority
in interface URI
URI
, null if it does not have onepublic String getHost()
public String getQuery()
public int getPort()
public String getScheme()
public boolean isAbsolute()
URI
URI
is absolute.
An URI
is absolute if, and only if, it has a scheme component.
isAbsolute
in interface URI
URI
is absolutepublic URI getBaseURI()
getBaseURI
in interface URI
URI
representation of this URI
public int compareTo(URI other)
compareTo
in interface Comparable<URI>
Copyright © 2023. All Rights Reserved.