Package org.eclipse.jetty.server
Enum ForwardedRequestCustomizer.Source
- java.lang.Object
-
- java.lang.Enum<ForwardedRequestCustomizer.Source>
-
- org.eclipse.jetty.server.ForwardedRequestCustomizer.Source
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ForwardedRequestCustomizer.Source>
- Enclosing class:
- ForwardedRequestCustomizer
public static enum ForwardedRequestCustomizer.Source extends java.lang.Enum<ForwardedRequestCustomizer.Source>
Ordered Source Enum.Lowest first, Last/Highest priority wins
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FORCED
FORWARDED
UNSET
XFORWARDED_FOR
XFORWARDED_HOST
XFORWARDED_PORT
XFORWARDED_PROTO
XFORWARDED_SERVER
XPROXIED_HTTPS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ForwardedRequestCustomizer.Source
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ForwardedRequestCustomizer.Source[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSET
public static final ForwardedRequestCustomizer.Source UNSET
-
XPROXIED_HTTPS
public static final ForwardedRequestCustomizer.Source XPROXIED_HTTPS
-
XFORWARDED_PROTO
public static final ForwardedRequestCustomizer.Source XFORWARDED_PROTO
-
XFORWARDED_SERVER
public static final ForwardedRequestCustomizer.Source XFORWARDED_SERVER
-
XFORWARDED_PORT
public static final ForwardedRequestCustomizer.Source XFORWARDED_PORT
-
XFORWARDED_FOR
public static final ForwardedRequestCustomizer.Source XFORWARDED_FOR
-
XFORWARDED_HOST
public static final ForwardedRequestCustomizer.Source XFORWARDED_HOST
-
FORWARDED
public static final ForwardedRequestCustomizer.Source FORWARDED
-
FORCED
public static final ForwardedRequestCustomizer.Source FORCED
-
-
Method Detail
-
values
public static ForwardedRequestCustomizer.Source[] 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 (ForwardedRequestCustomizer.Source c : ForwardedRequestCustomizer.Source.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ForwardedRequestCustomizer.Source valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-