Package com.adobe.xfa.protocol
Enum HttpForm.PostEncodingType
- java.lang.Object
-
- java.lang.Enum<HttpForm.PostEncodingType>
-
- com.adobe.xfa.protocol.HttpForm.PostEncodingType
-
- All Implemented Interfaces:
Serializable
,Comparable<HttpForm.PostEncodingType>
- Enclosing class:
- HttpForm
public static enum HttpForm.PostEncodingType extends Enum<HttpForm.PostEncodingType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LAST_ENCODING
MULTIPART_ENCODING
UNKNOWN_ENCODING
URL_ENCODING
USER_ENCODING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpForm.PostEncodingType
valueOf(String name)
Returns the enum constant of this type with the specified name.static HttpForm.PostEncodingType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN_ENCODING
public static final HttpForm.PostEncodingType UNKNOWN_ENCODING
-
URL_ENCODING
public static final HttpForm.PostEncodingType URL_ENCODING
-
USER_ENCODING
public static final HttpForm.PostEncodingType USER_ENCODING
-
MULTIPART_ENCODING
public static final HttpForm.PostEncodingType MULTIPART_ENCODING
-
LAST_ENCODING
public static final HttpForm.PostEncodingType LAST_ENCODING
-
-
Method Detail
-
values
public static HttpForm.PostEncodingType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HttpForm.PostEncodingType c : HttpForm.PostEncodingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpForm.PostEncodingType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-