public static enum SendResponse.HeaderStrategy extends java.lang.Enum<SendResponse.HeaderStrategy>
Enum Constant and Description |
---|
PRESERVE_ORIGINAL |
PRESERVE_RESPONSE |
SET_TO_NULL |
Modifier and Type | Method and Description |
---|---|
static SendResponse.HeaderStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SendResponse.HeaderStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SendResponse.HeaderStrategy PRESERVE_ORIGINAL
public static final SendResponse.HeaderStrategy PRESERVE_RESPONSE
public static final SendResponse.HeaderStrategy SET_TO_NULL
public static SendResponse.HeaderStrategy[] values()
for (SendResponse.HeaderStrategy c : SendResponse.HeaderStrategy.values()) System.out.println(c);
public static SendResponse.HeaderStrategy 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 namejava.lang.NullPointerException
- if the argument is null