public static enum CSRFProtector.Predefined extends java.lang.Enum<CSRFProtector.Predefined> implements CSRFProtector
CSRFProtector.Predefined
Modifier and Type | Method and Description |
---|---|
static CSRFProtector.Predefined |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CSRFProtector |
valueOfIgnoreCase(java.lang.String s) |
static CSRFProtector.Predefined[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
clearExistingToken, generateToken, outputToken, retrieveToken, verifyToken
public static final CSRFProtector.Predefined HMAC
public static final CSRFProtector.Predefined RANDOM
public static CSRFProtector.Predefined[] values()
for (CSRFProtector.Predefined c : CSRFProtector.Predefined.values()) System.out.println(c);
public static CSRFProtector.Predefined valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CSRFProtector valueOfIgnoreCase(java.lang.String s)
Copyright © 2014–2017 ActFramework. All rights reserved.