Package org.eclipse.jetty.http
Class HttpURI.Immutable
java.lang.Object
org.eclipse.jetty.http.HttpURI.Immutable
- All Implemented Interfaces:
HttpURI
- Enclosing interface:
- HttpURI
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.http.HttpURI
HttpURI.Immutable, HttpURI.Mutable -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.http.HttpURI
hasAmbiguousEmptySegment, hasAmbiguousEncoding, hasAmbiguousParameter, hasAmbiguousSegment, hasAmbiguousSeparator, hasUtf16Encoding
-
Method Details
-
asImmutable
- Specified by:
asImmutablein interfaceHttpURI
-
asString
-
equals
-
getAuthority
- Specified by:
getAuthorityin interfaceHttpURI
-
getDecodedPath
- Specified by:
getDecodedPathin interfaceHttpURI
-
getFragment
- Specified by:
getFragmentin interfaceHttpURI
-
getHost
-
getParam
Description copied from interface:HttpURIGet a URI path parameter. Multiple and in segment parameters are ignored and only the last trailing parameter is returned. -
getPath
-
getPathQuery
- Specified by:
getPathQueryin interfaceHttpURI
-
getPort
public int getPort() -
getQuery
-
getScheme
-
getUser
-
hasAuthority
public boolean hasAuthority()- Specified by:
hasAuthorityin interfaceHttpURI
-
hashCode
public int hashCode() -
isAbsolute
public boolean isAbsolute()- Specified by:
isAbsolutein interfaceHttpURI
-
isAmbiguous
public boolean isAmbiguous()- Specified by:
isAmbiguousin interfaceHttpURI- Returns:
- True if the URI has any ambiguous
UriCompliance.Violations.
-
hasViolations
public boolean hasViolations()- Specified by:
hasViolationsin interfaceHttpURI- Returns:
- True if the URI has any
UriCompliance.Violations.
-
hasViolation
- Specified by:
hasViolationin interfaceHttpURI- Parameters:
violation- the violation to check.- Returns:
- true if the URI has the passed violation.
-
getViolations
- Specified by:
getViolationsin interfaceHttpURI- Returns:
- Set of violations in the URI.
-
toString
-
toURI
-