Uses of Class
org.eclipse.jetty.http.UriCompliance
Package
Description
Jetty Http : Tools for Http processing
Jetty Server : Core Server API
-
Uses of UriCompliance in org.eclipse.jetty.http
Modifier and TypeFieldDescriptionstatic final UriCompliance
UriCompliance.DEFAULT
The default compliance mode that extends RFC3986 compliance with additional violations to avoid most ambiguous URIs.static final UriCompliance
UriCompliance.LEGACY
LEGACY compliance mode that models Jetty-9.4 behavior by allowingUriCompliance.Violation.AMBIGUOUS_PATH_SEGMENT
,UriCompliance.Violation.AMBIGUOUS_EMPTY_SEGMENT
,UriCompliance.Violation.AMBIGUOUS_PATH_SEPARATOR
,UriCompliance.Violation.AMBIGUOUS_PATH_ENCODING
andUriCompliance.Violation.UTF16_ENCODINGS
static final UriCompliance
UriCompliance.RFC3986
Compliance mode that exactly follows RFC3986, including allowing all additional ambiguous URI Violations.static final UriCompliance
UriCompliance.RFC3986_UNAMBIGUOUS
Compliance mode that follows RFC3986 plus it does not allow any ambiguous URIUriCompliance.Violation
s.static final UriCompliance
UriCompliance.SAFE
Deprecated.equivalent to DEFAULTstatic final UriCompliance
UriCompliance.STRICT
Deprecated.equivalent to RFC3986static final UriCompliance
UriCompliance.UNSAFE
Compliance mode that allows all URI Violations, including allowing ambiguous paths in non canonicalized form.Modifier and TypeMethodDescriptionstatic UriCompliance
Create compliance set from string.static UriCompliance
UriCompliance.from
(Set<UriCompliance.Violation> violations) Create compliance set from a set of allowed Violations.static UriCompliance
UriCompliance.with
(String name, UriCompliance.Violation... violations) Create a new UriCompliance mode that includes the passedUriCompliance.Violation
s.UriCompliance.without
(String name, UriCompliance.Violation... violations) Create a new UriCompliance mode that excludes the passedUriCompliance.Violation
s.Modifier and TypeMethodDescriptionstatic String
UriCompliance.checkUriCompliance
(UriCompliance compliance, HttpURI uri) -
Uses of UriCompliance in org.eclipse.jetty.server
Modifier and TypeMethodDescriptionvoid
HttpConfiguration.setUriCompliance
(UriCompliance uriCompliance)