public enum CspNonceSource extends Enum<CspNonceSource>
| Modifier and Type | Method and Description |
|---|---|
static CspNonceSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CspNonceSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CspNonceSource REQUEST
public static final CspNonceSource SESSION
public static CspNonceSource[] values()
for (CspNonceSource c : CspNonceSource.values()) System.out.println(c);
public static CspNonceSource 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 © 2000–2025 Apache Software Foundation. All rights reserved.