Class HttpURI.Unsafe
java.lang.Object
org.eclipse.jetty.http.HttpURI.Immutable
org.eclipse.jetty.http.HttpURI.Unsafe
- All Implemented Interfaces:
Serializable, HttpURI
- Enclosing interface:
HttpURI
An unsafe HttpURI that accepts URI parts without checking whether they are valid.
This class should be primarily used for testing, since possibly invalid URI may break arbitrary code.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface HttpURI
HttpURI.Immutable, HttpURI.Mutable, HttpURI.Unsafe -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class HttpURI.Immutable
asImmutable, asString, equals, getAuthority, getCanonicalPath, getDecodedPath, getFragment, getHost, getParam, getPath, getPathQuery, getPort, getQuery, getScheme, getUser, getViolations, hasAuthority, hashCode, hasViolation, hasViolations, isAbsolute, isAmbiguous, toStringMethods inherited from interface HttpURI
hasAmbiguousEmptySegment, hasAmbiguousEncoding, hasAmbiguousParameter, hasAmbiguousSegment, hasAmbiguousSeparator, hasUtf16Encoding, toURI
-
Constructor Details
-
Unsafe
Creates a new unsafe
HttpURIwith the given arguments.- Parameters:
scheme- the URI schemehost- the URI hostport- the URI port, or-1for no portpath- the URI pathquery- the URI queryfragment- the URI fragment
-