|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface TokenResponseHandler
Invokes user code that handles double or invalid submits.
Field Summary | |
---|---|
java.lang.String |
KEY
|
Method Summary | |
---|---|
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. |
Field Detail |
---|
public java.lang.String KEY
Method Detail |
---|
public java.lang.Object invalidToken(@SuppressWarnings("rawtypes") groovy.lang.Closure callable)
callable
- The closure to invoke in the event of an invalid token
public boolean wasInvalidToken()
public boolean wasInvoked()
Groovy Documentation