public interface TokenResponseHandler
Invokes user code that handles double or invalid submits.
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.Object |
invalidToken(groovy.lang.Closure callable) Specify behavior in the event of an invalid token. |
|
public boolean |
wasInvalidToken() Return whether the token was invalid |
|
public 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.