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 org.eclipse.jetty.http.HttpURI
HttpURI.Immutable, HttpURI.Mutable, HttpURI.Unsafe
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.jetty.http.HttpURI.Immutable
asImmutable, asString, equals, getAuthority, getCanonicalPath, getDecodedPath, getFragment, getHost, getParam, getPath, getPathQuery, getPort, getQuery, getScheme, getUser, getViolations, hasAuthority, hashCode, hasViolation, hasViolations, isAbsolute, isAmbiguous, toString
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, toURI
-
Constructor Details
-
Unsafe
Creates a new unsafe
HttpURI
with the given arguments.- Parameters:
scheme
- the URI schemehost
- the URI hostport
- the URI port, or-1
for no portpath
- the URI pathquery
- the URI queryfragment
- the URI fragment
-