Skip navigation links
A B C D G I M N P R S V 

A

afterPropertiesSet() - Method in class net.dreamlu.mica.captcha.cache.SpringCacheCaptchaCache
 

B

BackgroundDraw - Interface in net.dreamlu.mica.captcha.draw
背景画

C

Captcha - Class in net.dreamlu.mica.captcha.core
验证码
Captcha() - Constructor for class net.dreamlu.mica.captcha.core.Captcha
 
Captcha(CaptchaType) - Constructor for class net.dreamlu.mica.captcha.core.Captcha
 
Captcha(CaptchaDraw) - Constructor for class net.dreamlu.mica.captcha.core.Captcha
 
Captcha(BackgroundDraw, CaptchaDraw, InterferenceDraw, Random) - Constructor for class net.dreamlu.mica.captcha.core.Captcha
 
captchaCache(MicaCaptchaProperties, CacheManager) - Method in class net.dreamlu.mica.captcha.config.SpringCacheCaptchaCacheConfiguration
 
CaptchaDraw - Interface in net.dreamlu.mica.captcha.draw
画验证码
CaptchaServiceImpl - Class in net.dreamlu.mica.captcha.service
验证码服务
CaptchaServiceImpl() - Constructor for class net.dreamlu.mica.captcha.service.CaptchaServiceImpl
 
CaptchaType - Enum in net.dreamlu.mica.captcha.enums
验证码类型
CaptchaUtil - Class in net.dreamlu.mica.captcha.core
验证码工具类
CaptchaUtil() - Constructor for class net.dreamlu.mica.captcha.core.CaptchaUtil
 
CaptchaVo - Class in net.dreamlu.mica.captcha.vo
验证码模型
CaptchaVo() - Constructor for class net.dreamlu.mica.captcha.vo.CaptchaVo
 
CurveInterferenceDraw - Enum in net.dreamlu.mica.captcha.draw
双曲线干扰

D

draw(Graphics2D, int, int, Font[], Random) - Method in interface net.dreamlu.mica.captcha.draw.BackgroundDraw
画背景层
draw(Graphics2D, int, int, Font[], Random) - Method in interface net.dreamlu.mica.captcha.draw.CaptchaDraw
画验证码层
draw(Graphics2D, int, int, Font[], Random) - Method in enum net.dreamlu.mica.captcha.draw.CurveInterferenceDraw
 
draw(Graphics2D, int, int, Font[], Random) - Method in interface net.dreamlu.mica.captcha.draw.InterferenceDraw
画干扰层
draw(Graphics2D, int, int, Font[], Random) - Method in class net.dreamlu.mica.captcha.draw.MathCaptchaDraw
 
draw(Graphics2D, int, int, Font[], Random) - Method in class net.dreamlu.mica.captcha.draw.RandomCaptchaDraw
 
draw(Graphics2D, int, int, Font[], Random) - Method in enum net.dreamlu.mica.captcha.draw.SmallCharsBackgroundDraw
 

G

generate(Supplier<OutputStream>) - Method in class net.dreamlu.mica.captcha.core.Captcha
 
generate(Supplier<OutputStream>) - Method in interface net.dreamlu.mica.captcha.core.ICaptcha
生成验证码
generate(String, OutputStream) - Method in class net.dreamlu.mica.captcha.service.CaptchaServiceImpl
 
generate(String, OutputStream) - Method in interface net.dreamlu.mica.captcha.service.ICaptchaService
生成验证码
generateBase64(String) - Method in interface net.dreamlu.mica.captcha.service.ICaptchaService
生成验证码 base64 字符串
generateBase64Vo() - Method in interface net.dreamlu.mica.captcha.service.ICaptchaService
生成验证码 base64 CaptchaVo
generateBase64Vo(String) - Method in interface net.dreamlu.mica.captcha.service.ICaptchaService
生成验证码 base64 CaptchaVo
generateByteResource(String) - Method in interface net.dreamlu.mica.captcha.service.ICaptchaService
生成验证码
generateBytes(String) - Method in interface net.dreamlu.mica.captcha.service.ICaptchaService
生成验证码
generateResponseEntity(String) - Method in interface net.dreamlu.mica.captcha.service.ICaptchaService
生成验证码
getAndRemove(String) - Method in interface net.dreamlu.mica.captcha.cache.ICaptchaCache
获取并删除缓存,验证码不管成功只能验证一次 非 spring cache 等启动就确定超时的缓存,重新改方法
getAndRemove(String, String) - Method in interface net.dreamlu.mica.captcha.cache.ICaptchaCache
获取并删除缓存,验证码不管成功只能验证一次
getAndRemove(String, String) - Method in class net.dreamlu.mica.captcha.cache.SpringCacheCaptchaCache
 
getCaptchaHeaders() - Method in interface net.dreamlu.mica.captcha.service.ICaptchaService
图片输出的头,避免验证码被缓存
getTTLFormCacheName(String) - Static method in class net.dreamlu.mica.captcha.core.CaptchaUtil
从 cache name 中解析 ttl,例如: user:test#300ms,不带单位默认为 s 秒

I

ICaptcha - Interface in net.dreamlu.mica.captcha.core
验证码抽象
ICaptchaCache - Interface in net.dreamlu.mica.captcha.cache
验证码缓存 1.单服务可以采用 guava、ehcache、caffeine 等内存缓存。
ICaptchaService - Interface in net.dreamlu.mica.captcha.service
验证码服务
imageCaptcha(MicaCaptchaProperties) - Method in class net.dreamlu.mica.captcha.config.MicaCaptchaAutoConfiguration
 
imageCaptchaService(MicaCaptchaProperties, ICaptchaCache, Captcha) - Method in class net.dreamlu.mica.captcha.config.MicaCaptchaAutoConfiguration
 
InterferenceDraw - Interface in net.dreamlu.mica.captcha.draw
干扰画

M

MathCaptchaDraw - Class in net.dreamlu.mica.captcha.draw
算术型验证码
MathCaptchaDraw() - Constructor for class net.dreamlu.mica.captcha.draw.MathCaptchaDraw
 
MicaCaptchaAutoConfiguration - Class in net.dreamlu.mica.captcha.config
验证码自动配置
MicaCaptchaAutoConfiguration() - Constructor for class net.dreamlu.mica.captcha.config.MicaCaptchaAutoConfiguration
 
MicaCaptchaProperties - Class in net.dreamlu.mica.captcha.config
验证码配置
MicaCaptchaProperties() - Constructor for class net.dreamlu.mica.captcha.config.MicaCaptchaProperties
 

N

net.dreamlu.mica.captcha.cache - package net.dreamlu.mica.captcha.cache
 
net.dreamlu.mica.captcha.config - package net.dreamlu.mica.captcha.config
 
net.dreamlu.mica.captcha.core - package net.dreamlu.mica.captcha.core
 
net.dreamlu.mica.captcha.draw - package net.dreamlu.mica.captcha.draw
 
net.dreamlu.mica.captcha.enums - package net.dreamlu.mica.captcha.enums
 
net.dreamlu.mica.captcha.service - package net.dreamlu.mica.captcha.service
 
net.dreamlu.mica.captcha.vo - package net.dreamlu.mica.captcha.vo
 

P

PREFIX - Static variable in class net.dreamlu.mica.captcha.config.MicaCaptchaProperties
 
put(String, String, long) - Method in interface net.dreamlu.mica.captcha.cache.ICaptchaCache
保存缓存 非 spring cache 等启动就确定超时的缓存,重新改方法
put(String, String, String) - Method in interface net.dreamlu.mica.captcha.cache.ICaptchaCache
保存缓存
put(String, String, String) - Method in class net.dreamlu.mica.captcha.cache.SpringCacheCaptchaCache
 

R

randColor(Random, int, int) - Static method in class net.dreamlu.mica.captcha.core.CaptchaUtil
给定范围获得随机颜色
randNum(Random, int, int) - Static method in class net.dreamlu.mica.captcha.core.CaptchaUtil
生成指定范围的随机数
RandomCaptchaDraw - Class in net.dreamlu.mica.captcha.draw
随机字符串验证码
RandomCaptchaDraw() - Constructor for class net.dreamlu.mica.captcha.draw.RandomCaptchaDraw
 
RandomCaptchaDraw(int) - Constructor for class net.dreamlu.mica.captcha.draw.RandomCaptchaDraw
 

S

setBackgroundDraw(BackgroundDraw) - Method in class net.dreamlu.mica.captcha.core.Captcha
 
setCaptchaDraw(CaptchaDraw) - Method in class net.dreamlu.mica.captcha.core.Captcha
 
setInterferenceDraw(InterferenceDraw) - Method in class net.dreamlu.mica.captcha.core.Captcha
 
setRandom(Random) - Method in class net.dreamlu.mica.captcha.core.Captcha
 
SmallCharsBackgroundDraw - Enum in net.dreamlu.mica.captcha.draw
小字符背景
SpringCacheCaptchaCache - Class in net.dreamlu.mica.captcha.cache
spring cache 的 captcha cache
SpringCacheCaptchaCache() - Constructor for class net.dreamlu.mica.captcha.cache.SpringCacheCaptchaCache
 
SpringCacheCaptchaCacheConfiguration - Class in net.dreamlu.mica.captcha.config
验证码 spring cache 配置
SpringCacheCaptchaCacheConfiguration() - Constructor for class net.dreamlu.mica.captcha.config.SpringCacheCaptchaCacheConfiguration
 

V

validate(String, String) - Method in class net.dreamlu.mica.captcha.core.Captcha
 
validate(String, String) - Method in interface net.dreamlu.mica.captcha.core.ICaptcha
校验验证码
validate(String, String) - Method in interface net.dreamlu.mica.captcha.draw.CaptchaDraw
校验
validate(String, String) - Method in class net.dreamlu.mica.captcha.draw.MathCaptchaDraw
 
validate(String, String) - Method in class net.dreamlu.mica.captcha.draw.RandomCaptchaDraw
 
validate(String, String) - Method in class net.dreamlu.mica.captcha.service.CaptchaServiceImpl
 
validate(String, String) - Method in interface net.dreamlu.mica.captcha.service.ICaptchaService
校验验证码
valueOf(String) - Static method in enum net.dreamlu.mica.captcha.draw.CurveInterferenceDraw
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.dreamlu.mica.captcha.draw.SmallCharsBackgroundDraw
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.dreamlu.mica.captcha.enums.CaptchaType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.dreamlu.mica.captcha.draw.CurveInterferenceDraw
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.dreamlu.mica.captcha.draw.SmallCharsBackgroundDraw
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.dreamlu.mica.captcha.enums.CaptchaType
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D G I M N P R S V 
Skip navigation links

Copyright © 2024. All rights reserved.