public class CoryCacheCaptchaStore extends Object implements com.octo.captcha.service.captchastore.CaptchaStore
| 构造器和说明 |
|---|
CoryCacheCaptchaStore(org.springframework.cache.CacheManager cacheManager) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cleanAndShutdown() |
void |
empty() |
com.octo.captcha.Captcha |
getCaptcha(String id) |
Collection |
getKeys() |
Locale |
getLocale(String id) |
int |
getSize() |
boolean |
hasCaptcha(String id) |
void |
initAndStart() |
boolean |
removeCaptcha(String id) |
void |
storeCaptcha(String id,
com.octo.captcha.Captcha captcha) |
void |
storeCaptcha(String id,
com.octo.captcha.Captcha captcha,
Locale locale) |
public CoryCacheCaptchaStore(org.springframework.cache.CacheManager cacheManager)
public boolean hasCaptcha(String id)
hasCaptcha 在接口中 com.octo.captcha.service.captchastore.CaptchaStorepublic void storeCaptcha(String id, com.octo.captcha.Captcha captcha) throws com.octo.captcha.service.CaptchaServiceException
storeCaptcha 在接口中 com.octo.captcha.service.captchastore.CaptchaStorecom.octo.captcha.service.CaptchaServiceExceptionpublic void storeCaptcha(String id, com.octo.captcha.Captcha captcha, Locale locale) throws com.octo.captcha.service.CaptchaServiceException
storeCaptcha 在接口中 com.octo.captcha.service.captchastore.CaptchaStorecom.octo.captcha.service.CaptchaServiceExceptionpublic boolean removeCaptcha(String id)
removeCaptcha 在接口中 com.octo.captcha.service.captchastore.CaptchaStorepublic com.octo.captcha.Captcha getCaptcha(String id) throws com.octo.captcha.service.CaptchaServiceException
getCaptcha 在接口中 com.octo.captcha.service.captchastore.CaptchaStorecom.octo.captcha.service.CaptchaServiceExceptionpublic Locale getLocale(String id) throws com.octo.captcha.service.CaptchaServiceException
getLocale 在接口中 com.octo.captcha.service.captchastore.CaptchaStorecom.octo.captcha.service.CaptchaServiceExceptionpublic int getSize()
getSize 在接口中 com.octo.captcha.service.captchastore.CaptchaStorepublic Collection getKeys()
getKeys 在接口中 com.octo.captcha.service.captchastore.CaptchaStorepublic void empty()
empty 在接口中 com.octo.captcha.service.captchastore.CaptchaStorepublic void initAndStart()
initAndStart 在接口中 com.octo.captcha.service.captchastore.CaptchaStorepublic void cleanAndShutdown()
cleanAndShutdown 在接口中 com.octo.captcha.service.captchastore.CaptchaStoreCopyright © 2022. All rights reserved.