Package org.apache.camel.spi
Enum HeaderFilterStrategy.Direction
- java.lang.Object
-
- java.lang.Enum<HeaderFilterStrategy.Direction>
-
- org.apache.camel.spi.HeaderFilterStrategy.Direction
-
- All Implemented Interfaces:
Serializable
,Comparable<HeaderFilterStrategy.Direction>
- Enclosing interface:
- HeaderFilterStrategy
public static enum HeaderFilterStrategy.Direction extends Enum<HeaderFilterStrategy.Direction>
The direction is either IN or OUT.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HeaderFilterStrategy.Direction
valueOf(String name)
Returns the enum constant of this type with the specified name.static HeaderFilterStrategy.Direction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN
public static final HeaderFilterStrategy.Direction IN
-
OUT
public static final HeaderFilterStrategy.Direction OUT
-
-
Method Detail
-
values
public static HeaderFilterStrategy.Direction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HeaderFilterStrategy.Direction c : HeaderFilterStrategy.Direction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HeaderFilterStrategy.Direction valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-