public enum ContentDisposition extends Enum<ContentDisposition>
MIME protocol Content-Disposition header.
Enum Constant and Description |
---|
Attachment
Result is saved as attachment.
|
Inline
Result is shown inline.
|
Modifier and Type | Method and Description |
---|---|
static ContentDisposition |
getByValue(int value) |
int |
getValue() |
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 Inline
Result is shown inline.
public static final ContentDisposition Attachment
Result is saved as attachment.
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 int getValue()
public static ContentDisposition getByValue(int value)
Copyright © 2025 Aspose. All Rights Reserved.