Constructor and Description |
---|
UrlImpl(java.lang.String path)
Deprecated.
Use
Urls#newUnparsable(String) |
Modifier and Type | Method and Description |
---|---|
Url |
addParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
Creates a new url with added parameters.
|
boolean |
equals(java.lang.Object o) |
boolean |
equalsIgnoreCase(Url o) |
boolean |
equalsIgnoreParameters(Url url) |
java.lang.String |
getAuthority() |
java.lang.String |
getParameters() |
java.lang.String |
getPath()
System-independent path
|
java.lang.String |
getScheme() |
int |
hashCode() |
int |
hashCodeCaseInsensitive() |
boolean |
isInLocalFileSystem() |
Url |
resolve(java.lang.String subPath) |
java.lang.String |
toDecodedForm() |
java.lang.String |
toExternalForm() |
java.lang.String |
toString() |
Url |
trimParameters() |
@Deprecated public UrlImpl(java.lang.String path)
Urls#newUnparsable(String)
public Url addParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
Url
addParameters
in interface Url
public java.lang.String getPath()
Url
public java.lang.String getAuthority()
getAuthority
in interface Url
public boolean isInLocalFileSystem()
isInLocalFileSystem
in interface Url
public java.lang.String getParameters()
getParameters
in interface Url
public java.lang.String toDecodedForm()
toDecodedForm
in interface Url
public java.lang.String toExternalForm()
toExternalForm
in interface Url
public Url trimParameters()
trimParameters
in interface Url
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean equalsIgnoreCase(Url o)
equalsIgnoreCase
in interface Url
public boolean equalsIgnoreParameters(Url url)
equalsIgnoreParameters
in interface Url
public int hashCode()
hashCode
in class java.lang.Object
public int hashCodeCaseInsensitive()
hashCodeCaseInsensitive
in interface Url