Invokes user code that handles double or invalid submits.
Modifiers | Name | Description |
---|---|---|
java.lang.String |
INVALID_TOKEN_ATTRIBUTE |
|
java.lang.String |
KEY |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Object |
invalidToken(groovy.lang.Closure callable) Specify behavior in the event of an invalid token. |
|
boolean |
wasInvalidToken() Return whether the token was invalid |
|
boolean |
wasInvoked() Return whether the response handle was invoked. |
Specify behavior in the event of an invalid token.
callable
- The closure to invoke in the event of an invalid tokenReturn whether the token was invalid
Return whether the response handle was invoked.