public static enum ApiLoggingConfiguration.HeaderLoggingPolicy extends Enum<ApiLoggingConfiguration.HeaderLoggingPolicy>
ApiLoggingConfiguration.Builder. It is either used to exclude or include headers
provided in header filters, for various security reasons.| Enum Constant and Description |
|---|
EXCLUDE
Policy that only exclude the headerFilters from headers.
|
INCLUDE
Policy that only include the headerFilters as headers.
|
| Modifier and Type | Method and Description |
|---|---|
static ApiLoggingConfiguration.HeaderLoggingPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiLoggingConfiguration.HeaderLoggingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiLoggingConfiguration.HeaderLoggingPolicy INCLUDE
public static final ApiLoggingConfiguration.HeaderLoggingPolicy EXCLUDE
public static ApiLoggingConfiguration.HeaderLoggingPolicy[] values()
for (ApiLoggingConfiguration.HeaderLoggingPolicy c : ApiLoggingConfiguration.HeaderLoggingPolicy.values()) System.out.println(c);
public static ApiLoggingConfiguration.HeaderLoggingPolicy 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 © 2023. All rights reserved.