static class CaptchaHelper.ValidableCaptcha extends Object
| Modifier and Type | Field and Description |
|---|---|
private nl.captcha.Captcha |
_captcha |
private Date |
_date |
private boolean |
_valid |
| Constructor and Description |
|---|
ValidableCaptcha(nl.captcha.Captcha c)
Build the captcha wrapper
|
| Modifier and Type | Method and Description |
|---|---|
nl.captcha.Captcha |
getCaptcha()
Get the wrapper captcha
|
void |
invalidate()
Mark the captcha as invalid
|
boolean |
isValid()
Determine if the validity date has not expired
|
public ValidableCaptcha(nl.captcha.Captcha c)
c - the captcha to wrappublic boolean isValid()
public nl.captcha.Captcha getCaptcha()
public void invalidate()