class SynchronizerTokensHolder extends java.lang.Object implements java.io.Serializable
A token used to handle double-submits.
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
HOLDER |
|
static java.lang.String |
TOKEN_KEY |
|
static java.lang.String |
TOKEN_URI |
|
private java.util.Map<java.lang.String, java.util.Set<java.util.UUID>> |
currentTokens |
|
private static long |
serialVersionUID |
Type | Name and description |
---|---|
java.util.Map<java.lang.String, java.util.Set<java.util.UUID>> |
currentTokens |
Constructor and description |
---|
SynchronizerTokensHolder
() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.String |
generateToken(java.lang.String url) |
|
protected java.util.Set<java.util.UUID> |
getTokens(java.lang.String url) |
|
boolean |
isEmpty() |
|
boolean |
isValid(java.lang.String url, java.lang.String token) |
|
void |
resetToken(java.lang.String url) |
|
void |
resetToken(java.lang.String url, java.lang.String token) |
|
static SynchronizerTokensHolder |
store(javax.servlet.http.HttpSession session) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation