public interface URI extends Comparable<URI>, Serializable
URI
supports more than just strict
URI
. Some examples:
* Windows paths
* C:\
* D:\path\to\file
* E:\path\to\skip\..\file
* URI with multiple scheme components
* scheme://host:123/path
* scheme:part2//host:123/path
* scheme:part2://host:123/path
* scheme:part2:part3//host:123/path
* scheme:part2:part3://host:123/path
Currently, does not support fragment in the URI.Modifier and Type | Interface and Description |
---|---|
static class |
URI.Factory
Factory for
URI . |
Modifier and Type | Method and Description |
---|---|
String |
getAuthority() |
URI |
getBaseURI() |
String |
getHost() |
String |
getPath() |
int |
getPort() |
String |
getQuery() |
String |
getScheme() |
boolean |
isAbsolute()
Tells whether or not the
URI is absolute. |
compareTo
Copyright © 2023. All Rights Reserved.