public enum MultiPartFormDataCompliance extends Enum<MultiPartFormDataCompliance>
multiPart/form-data
Enum Constant and Description |
---|
LEGACY
Legacy
multiPart/form-data parsing which is slow but forgiving. |
RFC7578
RFC7578 compliant parsing that is a fast but strict parser.
|
Modifier and Type | Method and Description |
---|---|
static MultiPartFormDataCompliance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MultiPartFormDataCompliance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultiPartFormDataCompliance LEGACY
multiPart/form-data
parsing which is slow but forgiving.
It will accept non compliant preambles and inconsistent line termination.MultiPartInputStreamParser
public static final MultiPartFormDataCompliance RFC7578
MultiPartFormInputStream
public static MultiPartFormDataCompliance[] values()
for (MultiPartFormDataCompliance c : MultiPartFormDataCompliance.values()) System.out.println(c);
public static MultiPartFormDataCompliance valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2010 - 2020 Adobe. All Rights Reserved