Enum Class ServerProperties.ForwardHeadersStrategy
java.lang.Object
java.lang.Enum<ServerProperties.ForwardHeadersStrategy>
org.springframework.boot.web.server.autoconfigure.ServerProperties.ForwardHeadersStrategy
- All Implemented Interfaces:
Serializable, Comparable<ServerProperties.ForwardHeadersStrategy>, Constable
- Enclosing class:
ServerProperties
@Deprecated(since="4.2.0",
forRemoval=true)
public static enum ServerProperties.ForwardHeadersStrategy
extends Enum<ServerProperties.ForwardHeadersStrategy>
Deprecated, for removal: This API element is subject to removal in a future version.
Strategies for supporting forward headers.
- Since:
- 4.0.0
- Author:
- Dave Syer, Stephane Nicoll, Andy Wilkinson, Ivan Sopov, Marcos Barbero, Eddú Meléndez, Quinten De Swaef, Venil Noronha, Aurélien Leboulanger, Brian Clozel, Olivier Lamy, Chentao Qu, Artsiom Yudovin, Andrew McGhie, Rafiullah Hamedy, Dirk Deyne, HaiTao Zhang, Victor Mandujano, Chris Bono, Parviz Rozikov, Florian Storz, Michael Weidmann, Lasse Wulff
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Use Spring's support for handling forwarded headers.Deprecated, for removal: This API element is subject to removal in a future version.Use the underlying container's native support for forwarded headers.Deprecated, for removal: This API element is subject to removal in a future version.Ignore X-Forwarded-* headers. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this class with the specified name.values()Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NATIVE
Deprecated, for removal: This API element is subject to removal in a future version.Use the underlying container's native support for forwarded headers. -
FRAMEWORK
Deprecated, for removal: This API element is subject to removal in a future version.Use Spring's support for handling forwarded headers. -
NONE
Deprecated, for removal: This API element is subject to removal in a future version.Ignore X-Forwarded-* headers.
-
-
Method Details
-
values
Deprecated, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version.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
-
ForwardedHeaderStrategy