Uses of Enum Class
org.eclipse.jetty.http.UriCompliance.Violation
-
Uses of UriCompliance.Violation in org.eclipse.jetty.http
Modifier and TypeFieldDescriptionstatic final Set<UriCompliance.Violation>
UriCompliance.AMBIGUOUS_VIOLATIONS
Set of violations that can trigger a HttpURI.isAmbiguous violation.static final Set<UriCompliance.Violation>
UriCompliance.NO_VIOLATION
Modifier and TypeMethodDescriptionstatic UriCompliance.Violation
Returns the enum constant of this class with the specified name.static UriCompliance.Violation[]
UriCompliance.Violation.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionUriCompliance.getAllowed()
Get the set ofUriCompliance.Violation
s allowed by this compliance mode.UriCompliance.getKnown()
HttpURI.getViolations()
HttpURI.Immutable.getViolations()
HttpURI.Mutable.getViolations()
Modifier and TypeMethodDescriptionboolean
HttpURI.hasViolation
(UriCompliance.Violation violation) boolean
HttpURI.Immutable.hasViolation
(UriCompliance.Violation violation) boolean
HttpURI.Mutable.hasViolation
(UriCompliance.Violation violation) static boolean
UriCompliance.isPathViolation
(UriCompliance.Violation violation) Test if violation is referencing a HttpURI.path violation.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 UriCompliance
UriCompliance.from
(Set<UriCompliance.Violation> violations) Create compliance set from a set of allowed Violations.static boolean
UriCompliance.isAmbiguous
(Set<UriCompliance.Violation> violations) ModifierConstructorDescriptionUriCompliance
(String name, Set<UriCompliance.Violation> violations)