public enum MultiPartFormDataCompliance extends java.lang.Enum<MultiPartFormDataCompliance>
multiPart/form-data| Enum Constant | 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 | Description |
|---|---|---|
static MultiPartFormDataCompliance |
valueOf(java.lang.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.MultiPartInputStreamParserpublic static final MultiPartFormDataCompliance RFC7578
MultiPartFormInputStreampublic static MultiPartFormDataCompliance[] values()
for (MultiPartFormDataCompliance c : MultiPartFormDataCompliance.values()) System.out.println(c);
public static MultiPartFormDataCompliance valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 1995–2018 Webtide. All rights reserved.