public class NormalizedURL extends java.lang.Object implements NormalizedURI
Constructor and Description |
---|
NormalizedURL(java.lang.String url) |
Modifier and Type | Method and Description |
---|---|
void |
normalize() |
void |
normalizeByProtocol()
Protocol-Based Normalization (see RFC3986 6.2.4)
|
void |
normalizeByScheme()
Scheme-Based Normalization (see RFC3986 6.2.3)
|
void |
normalizeCase()
Case Normalization (see RFC3986 6.2.2.1)
|
void |
normalizePathSegment()
Path Segment Normalization (see RFC3986 6.2.2.3)
|
void |
normalizePercentEncoding()
Percent-Encoding Normalization (see RFC3986 6.2.2.2)
|
void |
normalizeSyntax()
Performs the following:
Case Normalization
Percent-Encoding Normalization
Path Segment Normalization
|
java.lang.String |
toString() |
public NormalizedURL(java.lang.String url) throws java.net.URISyntaxException
java.net.URISyntaxException
public void normalize()
normalize
in interface NormalizedURI
public void normalizeSyntax()
NormalizedURI
normalizeSyntax
in interface NormalizedURI
public void normalizeCase()
NormalizedURI
normalizeCase
in interface NormalizedURI
public void normalizePercentEncoding()
NormalizedURI
normalizePercentEncoding
in interface NormalizedURI
public void normalizePathSegment()
NormalizedURI
normalizePathSegment
in interface NormalizedURI
public void normalizeByScheme()
NormalizedURI
normalizeByScheme
in interface NormalizedURI
public void normalizeByProtocol()
NormalizedURI
normalizeByProtocol
in interface NormalizedURI
public java.lang.String toString()
toString
in class java.lang.Object