|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Multipart.Type> com.squareup.mimecraft.Multipart.Type
public static enum Multipart.Type
Multipart MIME types.
Enum Constant Summary | |
---|---|
ALTERNATIVE
The "multipart/alternative" type is syntactically identical to "multipart/mixed", but the semantics are different. |
|
DIGEST
This type is syntactically identical to "multipart/mixed", but the semantics are different. |
|
FORM
The media-type multipart/form-data follows the rules of all multipart MIME data streams as outlined in RFC 2046. |
|
MIXED
The "mixed" subtype of "multipart" is intended for use when the body parts are independent and need to be bundled in a particular order. |
|
PARALLEL
This type is syntactically identical to "multipart/mixed", but the semantics are different. |
Method Summary | |
---|---|
static Multipart.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Multipart.Type[] |
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 Multipart.Type MIXED
public static final Multipart.Type ALTERNATIVE
public static final Multipart.Type DIGEST
Content-Type
value for a body part is
changed from "text/plain" to "message/rfc822".
public static final Multipart.Type PARALLEL
public static final Multipart.Type FORM
Method Detail |
---|
public static Multipart.Type[] values()
for (Multipart.Type c : Multipart.Type.values()) System.out.println(c);
public static Multipart.Type valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |