public enum ContentDisposition extends Enum<ContentDisposition>
INLINE is used where an attachment should be displayed in the body of the message such as a image reference in an HTML message body
ATTACHMENT is used for standard file attachments to a message.
| Enum Constant and Description |
|---|
ATTACHMENT |
INLINE |
| Modifier and Type | Method and Description |
|---|---|
String |
headerValue() |
static ContentDisposition |
mapValue(String value) |
static ContentDisposition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentDisposition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentDisposition ATTACHMENT
public static final ContentDisposition INLINE
public static ContentDisposition[] values()
for (ContentDisposition c : ContentDisposition.values()) System.out.println(c);
public static ContentDisposition 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 nullpublic String headerValue()
public static ContentDisposition mapValue(String value)
Copyright © 2012 Seam Framework. All Rights Reserved.