public interface CaptchaOptions extends Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
disableChar()
Disable to generate the char captcha
|
void |
disableNumber()
Disable to generate the number captcha
|
void |
enableChar()
Enable to generate the char captcha
|
void |
enableNumber()
Enable to generate the number captcha
|
void |
setCaptchaTimeout(long timeout) |
void |
setLength(int length) |
void setLength(int length)
length - the length of the captcha, must be the range of 4~12void enableNumber()
void enableChar()
void disableNumber()
void disableChar()
void setCaptchaTimeout(long timeout)
timeout - milli seconds , must be the range of 30s ~ 10*60sCopyright © 2018. All rights reserved.