public static enum RewriteLocationResponseHeaderGatewayFilterFactory.StripVersion extends Enum<RewriteLocationResponseHeaderGatewayFilterFactory.StripVersion>
Enum Constant and Description |
---|
ALWAYS_STRIP
Version will be stripped, even if the original request path contains version.
|
AS_IN_REQUEST
Version will be stripped only if the original request path contains no version.
|
NEVER_STRIP
Version will not be stripped, even if the original request path contains no
version.
|
Modifier and Type | Method and Description |
---|---|
static RewriteLocationResponseHeaderGatewayFilterFactory.StripVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RewriteLocationResponseHeaderGatewayFilterFactory.StripVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RewriteLocationResponseHeaderGatewayFilterFactory.StripVersion NEVER_STRIP
public static final RewriteLocationResponseHeaderGatewayFilterFactory.StripVersion AS_IN_REQUEST
public static final RewriteLocationResponseHeaderGatewayFilterFactory.StripVersion ALWAYS_STRIP
public static RewriteLocationResponseHeaderGatewayFilterFactory.StripVersion[] values()
for (RewriteLocationResponseHeaderGatewayFilterFactory.StripVersion c : RewriteLocationResponseHeaderGatewayFilterFactory.StripVersion.values()) System.out.println(c);
public static RewriteLocationResponseHeaderGatewayFilterFactory.StripVersion 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.