public static enum InjectionSafe.Reason extends Enum<InjectionSafe.Reason>
| Enum Constant and Description |
|---|
InputNormalized
The value gets normalized (e.g. dangerous characters removed)
|
NoExternalUsage
The value is not used in external systems.
|
OutputQuoted
The value gets quoted wherever it is used in external systems.
|
RequestRejected
The whole request will be rejected.
|
TrustedSource
The input comes from a 100% trusted source.
|
| Modifier and Type | Method and Description |
|---|---|
static InjectionSafe.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InjectionSafe.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InjectionSafe.Reason InputNormalized
public static final InjectionSafe.Reason RequestRejected
public static final InjectionSafe.Reason OutputQuoted
public static final InjectionSafe.Reason NoExternalUsage
public static final InjectionSafe.Reason TrustedSource
public static InjectionSafe.Reason[] values()
for (InjectionSafe.Reason c : InjectionSafe.Reason.values()) System.out.println(c);
public static InjectionSafe.Reason 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 © 2018 trivago. All rights reserved.