Package io.quarkus.vertx.http.runtime
Enum Class ProxyConfig.ForwardedProtoValidation
java.lang.Object
java.lang.Enum<ProxyConfig.ForwardedProtoValidation>
io.quarkus.vertx.http.runtime.ProxyConfig.ForwardedProtoValidation
- All Implemented Interfaces:
Serializable,Comparable<ProxyConfig.ForwardedProtoValidation>,Constable
- Enclosing interface:
ProxyConfig
public static enum ProxyConfig.ForwardedProtoValidation
extends Enum<ProxyConfig.ForwardedProtoValidation>
Validation mode for the
Forwarded proto and X-Forwarded-Proto header values.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo validation — accept any proto value.Reject proto values that do not conform to the URI scheme syntax with a400 Bad Requestresponse. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ProxyConfig.ForwardedProtoValidation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No validation — accept any proto value. -
REJECT
Reject proto values that do not conform to the URI scheme syntax with a400 Bad Requestresponse.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-