public static enum TempFilePart.Disposition extends Enum<TempFilePart.Disposition>
| Enum Constant and Description |
|---|
Attachment
Download the attachment, do not show it.
|
Inline
Show the file by trying to view it in the browser
|
None
Do content-disposition: let the browser decide what to do with the thing
|
| Modifier and Type | Method and Description |
|---|---|
static TempFilePart.Disposition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TempFilePart.Disposition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TempFilePart.Disposition Attachment
public static final TempFilePart.Disposition Inline
public static final TempFilePart.Disposition None
public static TempFilePart.Disposition[] values()
for (TempFilePart.Disposition c : TempFilePart.Disposition.values()) System.out.println(c);
public static TempFilePart.Disposition 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 nullCopyright © 2017 etc.to. All rights reserved.