|
XFA4J | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum<Protocol.SectionDataOption>
com.adobe.xfa.protocol.Protocol.SectionDataOption
public static enum Protocol.SectionDataOption
Describes an entry in a multipart MIME section in a multipart/form-data media type. Multipart MIME sections are described by a sequence of MultiPartDesc entries, and the value of each entry is interpreted by a eSectionDataOption as described by this enumeration.
A multipart MIME section should contain either a
SECTION_CONTENT_FILE or a SECTION_CONTENT_VALUE entry,
but not both.
A multipart MIME section is terminated by a a MultiPartDesc with eSectionDataOption of SECTION_END.
Protocol.MultiPartDesc.eSectionDataOption| Enum Constant Summary | |
|---|---|
SECTION_CONTENT_FILE
The value field contains the name of a file containing the data content to be sent. |
|
SECTION_CONTENT_NAME
The value field contains the name of the original field that corresponds to this section (i.e., the name
parameter of the Content-Disposition header. |
|
SECTION_CONTENT_TYPE
The value field contains the Content-Type of this section. |
|
SECTION_CONTENT_VALUE
The value field contains the data to be sent. |
|
SECTION_END
Delimits the end of a multipart MIME section. |
|
| Method Summary | |
|---|---|
static Protocol.SectionDataOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Protocol.SectionDataOption[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Protocol.SectionDataOption SECTION_CONTENT_NAME
name
parameter of the Content-Disposition header.
public static final Protocol.SectionDataOption SECTION_CONTENT_TYPE
Content-Type of this section.
public static final Protocol.SectionDataOption SECTION_CONTENT_FILE
filename
parameter of the Content-Disposition header.
public static final Protocol.SectionDataOption SECTION_CONTENT_VALUE
public static final Protocol.SectionDataOption SECTION_END
| Method Detail |
|---|
public static Protocol.SectionDataOption[] values()
for (Protocol.SectionDataOption c : Protocol.SectionDataOption.values()) System.out.println(c);
public static Protocol.SectionDataOption 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 name
java.lang.NullPointerException - if the argument is null
|
XFA4J | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||