类 DefaultCaptchaStorage
java.lang.Object
cn.zhxu.toys.captcha.impl.DefaultCaptchaStorage
- 所有已实现的接口:
CaptchaStorage
验证码 Cache 存储器
- 作者:
- Troy
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void删除验证码findCaptcha(String captchaId) 根据手机号取得验证码intprotected Stringvoid保存验证码voidsetCacheSeconds(int cacheSeconds) voidsetCacheService(CacheService cacheService) voidsetKeyPrefix(String keyPrefix)
-
构造器详细资料
-
DefaultCaptchaStorage
public DefaultCaptchaStorage() -
DefaultCaptchaStorage
-
-
方法详细资料
-
findCaptcha
从接口复制的说明:CaptchaStorage根据手机号取得验证码- 指定者:
findCaptcha在接口中CaptchaStorage
-
save
从接口复制的说明:CaptchaStorage保存验证码- 指定者:
save在接口中CaptchaStorage
-
delete
从接口复制的说明:CaptchaStorage删除验证码- 指定者:
delete在接口中CaptchaStorage
-
key
-
getKeyPrefix
-
setKeyPrefix
-
getCacheService
-
setCacheService
-
getCacheSeconds
public int getCacheSeconds() -
setCacheSeconds
public void setCacheSeconds(int cacheSeconds)
-