Package org.eclipse.jetty.http
Enum Class MultiPartCompliance.Violation
- All Implemented Interfaces:
Serializable
,Comparable<MultiPartCompliance.Violation>
,Constable
,ComplianceViolation
- Enclosing class:
- MultiPartCompliance
public static enum MultiPartCompliance.Violation
extends Enum<MultiPartCompliance.Violation>
implements ComplianceViolation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface org.eclipse.jetty.http.ComplianceViolation
ComplianceViolation.CapturingListener, ComplianceViolation.Event, ComplianceViolation.Listener, ComplianceViolation.LoggingListener, ComplianceViolation.Mode
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
getURL()
Returns the enum constant of this class with the specified name.static MultiPartCompliance.Violation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface org.eclipse.jetty.http.ComplianceViolation
isAllowedBy
-
Enum Constant Details
-
CONTENT_TRANSFER_ENCODING
-
CR_LINE_TERMINATION
-
LF_LINE_TERMINATION
-
WHITESPACE_BEFORE_BOUNDARY
-
BASE64_TRANSFER_ENCODING
-
QUOTED_PRINTABLE_TRANSFER_ENCODING
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
- Specified by:
getName
in interfaceComplianceViolation
- Returns:
- The name of the violation.
-
getURL
- Specified by:
getURL
in interfaceComplianceViolation
- Returns:
- A URL to the specification that provides more information regarding the requirement that may be violated.
-
getDescription
- Specified by:
getDescription
in interfaceComplianceViolation
- Returns:
- A short description of the violation.
-