public class StripExceptionConfigImpl extends BaseConfig implements StripExceptionConfig
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALLOWED_CLASSES |
static java.lang.String |
ENABLED |
static java.lang.String |
SYSTEM_PROPERTY_ROOT |
static java.lang.String |
WHITELIST
Deprecated.
|
addDeprecatedProperties, COMMA_SEPARATOR, deprecatedProperties, SEMI_COLON_SEPARATOR, systemPropertyPrefix| Constructor and Description |
|---|
StripExceptionConfigImpl(boolean enabled,
java.util.Set<java.lang.String> allowedClasses) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getAllowedClasses()
Get the set of exception classes whose messages are allowed through.
|
boolean |
isEnabled() |
addDeprecatedProperty, castValue, clearDeprecatedProperties, getDoubleProperty, getIntegerSet, getIntProperty, getProperties, getProperty, getProperty, getPropertyFromSystemEnvironment, getPropertyFromSystemProperties, getStringPropertyOrNull, getSystemPropertyKey, getUniqueStrings, getUniqueStrings, getUniqueStringsFromCollection, getUniqueStringsFromCollection, getUniqueStringsFromString, nestedPropspublic static final java.lang.String ENABLED
@Deprecated public static final java.lang.String WHITELIST
public static final java.lang.String ALLOWED_CLASSES
public static final java.lang.String SYSTEM_PROPERTY_ROOT
public StripExceptionConfigImpl(boolean enabled,
java.util.Set<java.lang.String> allowedClasses)
public boolean isEnabled()
isEnabled in interface StripExceptionConfigpublic java.util.Set<java.lang.String> getAllowedClasses()
StripExceptionConfiggetAllowedClasses in interface StripExceptionConfig