public enum HeaderType extends java.lang.Enum<HeaderType>
InboundHeaders and OutboundHeaders.| Enum Constant and Description |
|---|
HTTP
To be used with HTTP and HTTPS requests and responses.
|
MESSAGE
To be used with message queue systems.
|
| Modifier and Type | Method and Description |
|---|---|
static HeaderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HeaderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeaderType HTTP
public static final HeaderType MESSAGE
public static HeaderType[] values()
for (HeaderType c : HeaderType.values()) System.out.println(c);
public static HeaderType 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