- java.lang.Object
-
- org.eclipse.jetty.http.HttpURI.Immutable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.http.HttpURI
HttpURI.Ambiguous, HttpURI.Immutable, HttpURI.Mutable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpURI.Immutable
asImmutable()
java.lang.String
asString()
boolean
equals(java.lang.Object o)
java.lang.String
getAuthority()
java.lang.String
getDecodedPath()
java.lang.String
getFragment()
java.lang.String
getHost()
java.lang.String
getParam()
java.lang.String
getPath()
java.lang.String
getPathQuery()
int
getPort()
java.lang.String
getQuery()
java.lang.String
getScheme()
java.lang.String
getUser()
boolean
hasAmbiguousEncoding()
boolean
hasAmbiguousParameter()
boolean
hasAmbiguousSegment()
boolean
hasAmbiguousSeparator()
boolean
hasAuthority()
int
hashCode()
boolean
isAbsolute()
boolean
isAmbiguous()
java.lang.String
toString()
java.net.URI
toURI()
-
-
-
Method Detail
-
asImmutable
public HttpURI.Immutable asImmutable()
- Specified by:
asImmutable
in interfaceHttpURI
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
getAuthority
public java.lang.String getAuthority()
- Specified by:
getAuthority
in interfaceHttpURI
-
getDecodedPath
public java.lang.String getDecodedPath()
- Specified by:
getDecodedPath
in interfaceHttpURI
-
getFragment
public java.lang.String getFragment()
- Specified by:
getFragment
in interfaceHttpURI
-
getPathQuery
public java.lang.String getPathQuery()
- Specified by:
getPathQuery
in interfaceHttpURI
-
hasAuthority
public boolean hasAuthority()
- Specified by:
hasAuthority
in interfaceHttpURI
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
isAbsolute
public boolean isAbsolute()
- Specified by:
isAbsolute
in interfaceHttpURI
-
isAmbiguous
public boolean isAmbiguous()
- Specified by:
isAmbiguous
in interfaceHttpURI
- Returns:
- True if the URI has either an
HttpURI.hasAmbiguousParameter()
,HttpURI.hasAmbiguousSegment()
orHttpURI.hasAmbiguousSeparator()
.
-
hasAmbiguousSegment
public boolean hasAmbiguousSegment()
- Specified by:
hasAmbiguousSegment
in interfaceHttpURI
- Returns:
- True if the URI has a possibly ambiguous segment like '..;' or '%2e%2e'
-
hasAmbiguousSeparator
public boolean hasAmbiguousSeparator()
- Specified by:
hasAmbiguousSeparator
in interfaceHttpURI
- Returns:
- True if the URI has a possibly ambiguous separator of %2f
-
hasAmbiguousParameter
public boolean hasAmbiguousParameter()
- Specified by:
hasAmbiguousParameter
in interfaceHttpURI
- Returns:
- True if the URI has a possibly ambiguous path parameter like '..;'
-
hasAmbiguousEncoding
public boolean hasAmbiguousEncoding()
- Specified by:
hasAmbiguousEncoding
in interfaceHttpURI
- Returns:
- True if the URI has an encoded '%' character.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-