public static enum ServerProperties.ForwardHeadersStrategy extends Enum<ServerProperties.ForwardHeadersStrategy>
Enum Constant and Description |
---|
FRAMEWORK
Use Spring's support for handling forwarded headers.
|
NATIVE
Use the underlying container's native support for forwarded headers.
|
NONE
Ignore X-Forwarded-* headers.
|
Modifier and Type | Method and Description |
---|---|
static ServerProperties.ForwardHeadersStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerProperties.ForwardHeadersStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerProperties.ForwardHeadersStrategy NATIVE
public static final ServerProperties.ForwardHeadersStrategy FRAMEWORK
public static final ServerProperties.ForwardHeadersStrategy NONE
public static ServerProperties.ForwardHeadersStrategy[] values()
for (ServerProperties.ForwardHeadersStrategy c : ServerProperties.ForwardHeadersStrategy.values()) System.out.println(c);
public static ServerProperties.ForwardHeadersStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 Pivotal Software, Inc.. All rights reserved.