Package org.eclipse.jetty.http
Class HttpURI.Mutable
java.lang.Object
org.eclipse.jetty.http.HttpURI.Mutable
- 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
Modifier and TypeMethodDescriptionasString()
clear()
decodedPath
(String path) boolean
getHost()
getParam()
Get a URI path parameter.getPath()
int
getPort()
getQuery()
getUser()
boolean
int
hashCode()
boolean
hasViolation
(UriCompliance.Violation violation) boolean
boolean
boolean
port
(int port) scheme
(HttpScheme scheme) toString()
toURI()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.http.HttpURI
hasAmbiguousEmptySegment, hasAmbiguousEncoding, hasAmbiguousParameter, hasAmbiguousSegment, hasAmbiguousSeparator, hasUtf16Encoding
-
Method Details
-
asImmutable
- Specified by:
asImmutable
in interfaceHttpURI
-
asString
-
authority
- Parameters:
host
- the hostport
- the port- Returns:
- this mutable
-
authority
- Parameters:
hostPort
- the host and port combined- Returns:
- this mutable
-
clear
-
decodedPath
-
equals
-
fragment
-
getAuthority
- Specified by:
getAuthority
in interfaceHttpURI
-
getDecodedPath
- Specified by:
getDecodedPath
in interfaceHttpURI
-
getFragment
- Specified by:
getFragment
in interfaceHttpURI
-
getHost
-
getParam
Description copied from interface:HttpURI
Get a URI path parameter. Multiple and in segment parameters are ignored and only the last trailing parameter is returned. -
getPath
-
getPathQuery
- Specified by:
getPathQuery
in interfaceHttpURI
-
getPort
public int getPort() -
getQuery
-
getScheme
-
getUser
-
hasAuthority
public boolean hasAuthority()- Specified by:
hasAuthority
in interfaceHttpURI
-
hashCode
public int hashCode() -
host
-
isAbsolute
public boolean isAbsolute()- Specified by:
isAbsolute
in interfaceHttpURI
-
isAmbiguous
public boolean isAmbiguous()- Specified by:
isAmbiguous
in interfaceHttpURI
- Returns:
- True if the URI has any ambiguous
UriCompliance.Violation
s.
-
hasViolations
public boolean hasViolations()- Specified by:
hasViolations
in interfaceHttpURI
- Returns:
- True if the URI has any
UriCompliance.Violation
s.
-
hasViolation
- Specified by:
hasViolation
in interfaceHttpURI
- Parameters:
violation
- the violation to check.- Returns:
- true if the URI has the passed violation.
-
getViolations
- Specified by:
getViolations
in interfaceHttpURI
- Returns:
- Set of violations in the URI.
-
normalize
-
param
-
path
- Parameters:
path
- the path- Returns:
- this Mutable
-
pathQuery
-
port
-
query
-
scheme
-
scheme
-
toString
-
toURI
-
uri
-
uri
-
uri
-
uri
-
user
-