Index

C D E F G H I L M N P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values

C

CHAR - Static variable in class io.github.swsk33.codepostcore.param.CodeGenerateMethod
纯字母验证码
CharCodeGenerateStrategy - Class in io.github.swsk33.codepostcore.strategy.impl
纯字母的验证码生成策略
CharCodeGenerateStrategy() - Constructor for class io.github.swsk33.codepostcore.strategy.impl.CharCodeGenerateStrategy
 
checkTemplateExists() - Static method in class io.github.swsk33.codepostcore.config.FreeMarkerLoaderConfig
检查配置中的模板是否存在,若不存在则使用默认内置模板
CLASS_PATH_PREFIX - Static variable in class io.github.swsk33.codepostcore.config.FreeMarkerLoaderConfig
classpath配置路径前缀
classpathFileExists(String) - Static method in class io.github.swsk33.codepostcore.util.ClassPathUtils
判断一个classpath路径的文件是否存在
ClassPathUtils - Class in io.github.swsk33.codepostcore.util
classpath路径的实用类
ClassPathUtils() - Constructor for class io.github.swsk33.codepostcore.util.ClassPathUtils
 
client - Static variable in class io.github.swsk33.codepostcore.config.LettuceClientConfig
Redis客户端对象
CODE_GENERATE_STRATEGY_MAP - Static variable in class io.github.swsk33.codepostcore.strategy.context.CodeGenerateContext
存放所有验证码生成策略的哈希表
codeFormat - Variable in class io.github.swsk33.codepostcore.model.config.MailConfig
验证码的格式
codeFormat - Variable in class io.github.swsk33.codepostspringbootstarter.property.CoreProperties
验证码的格式
CodeGenerateContext - Class in io.github.swsk33.codepostcore.strategy.context
验证码生成策略上下文
CodeGenerateContext() - Constructor for class io.github.swsk33.codepostcore.strategy.context.CodeGenerateContext
 
CodeGenerateMethod - Class in io.github.swsk33.codepostcore.param
验证码生成形式
CodeGenerateMethod() - Constructor for class io.github.swsk33.codepostcore.param.CodeGenerateMethod
 
CodeGenerateStrategy - Interface in io.github.swsk33.codepostcore.strategy
验证码生成策略
CodeKeyUtils - Class in io.github.swsk33.codepostcore.util
用于生成验证码键的实用类
CodeKeyUtils() - Constructor for class io.github.swsk33.codepostcore.util.CodeKeyUtils
 
codeLength - Variable in class io.github.swsk33.codepostcore.model.config.MailConfig
验证码长度
codeLength - Variable in class io.github.swsk33.codepostspringbootstarter.property.CoreProperties
验证码长度
codeMap - Variable in class io.github.swsk33.codepostcore.strategy.impl.ThreadPoolCodeStrategy
存放所有验证码键值对的哈希表
codeStorage - Variable in class io.github.swsk33.codepostcore.model.config.MailConfig
验证码的保存方式
codeStorage - Variable in class io.github.swsk33.codepostspringbootstarter.property.CoreProperties
验证码的保存方式
CodeStorageMethod - Class in io.github.swsk33.codepostcore.param
验证码的保存方式常量
CodeStorageMethod() - Constructor for class io.github.swsk33.codepostcore.param.CodeStorageMethod
 
codeTemplateName - Variable in class io.github.swsk33.codepostcore.model.config.MailConfig
用于邮件验证码内容的模板文件名
该项只填写文件名!
该项会和templatePath配置值拼接得到完整文件路径
codeTemplateName - Variable in class io.github.swsk33.codepostspringbootstarter.property.CoreProperties
用于邮件验证码内容的模板文件名
该项只填写文件名!
该项会和templatePath配置值拼接得到完整文件路径
commands - Static variable in class io.github.swsk33.codepostcore.config.LettuceClientConfig
用于执行Redis命令的对象
commands - Variable in class io.github.swsk33.codepostcore.strategy.impl.RedisCodeStrategy
Redis命令执行对象
configuration - Static variable in class io.github.swsk33.codepostcore.config.FreeMarkerLoaderConfig
FreeMarker配置唯一单例
ConstantClassUtils - Class in io.github.swsk33.codepostcore.util
关于常量存放类的实用类
ConstantClassUtils() - Constructor for class io.github.swsk33.codepostcore.util.ConstantClassUtils
 
contains(Class<?>, String) - Static method in class io.github.swsk33.codepostcore.util.ConstantClassUtils
传入一个字符串,利用反射的方式检查这个字符串是否属于某个常量类中常量中的一个
CoreProperties - Class in io.github.swsk33.codepostspringbootstarter.property
核心的一些配置
CoreProperties() - Constructor for class io.github.swsk33.codepostspringbootstarter.property.CoreProperties
 

D

DEFAULT_SERVICE_KEY - Static variable in class io.github.swsk33.codepostcore.context.ServiceNameContext
默认服务名(default)的键

E

email - Variable in class io.github.swsk33.codepostcore.model.config.MailConfig
发送者邮箱
email - Variable in class io.github.swsk33.codepostspringbootstarter.property.CoreProperties
发送者邮箱
EmailCodeContext - Class in io.github.swsk33.codepostcore.strategy.context
执行邮件验证码操作策略的上下文
EmailCodeContext() - Constructor for class io.github.swsk33.codepostcore.strategy.context.EmailCodeContext
 
EmailCodeStrategy - Interface in io.github.swsk33.codepostcore.strategy
关于一些邮件验证码的操作策略
emailCodeStrategyMap - Static variable in class io.github.swsk33.codepostcore.strategy.context.EmailCodeContext
存放邮件策略的哈希表
EmailNotifyService - Interface in io.github.swsk33.codepostcore.service
邮件通知服务
EmailNotifyServiceImpl - Class in io.github.swsk33.codepostcore.service.impl
邮件通知服务实现类
EmailNotifyServiceImpl() - Constructor for class io.github.swsk33.codepostcore.service.impl.EmailNotifyServiceImpl
 
EmailSendUtils - Class in io.github.swsk33.codepostcore.util
发送邮件的实用类
EmailSendUtils() - Constructor for class io.github.swsk33.codepostcore.util.EmailSendUtils
 
EmailVerifyCodeService - Interface in io.github.swsk33.codepostcore.service
邮件验证码相关的服务接口
EmailVerifyCodeServiceImpl - Class in io.github.swsk33.codepostcore.service.impl
邮件验证码接口服务实现类
EmailVerifyCodeServiceImpl() - Constructor for class io.github.swsk33.codepostcore.service.impl.EmailVerifyCodeServiceImpl
 
enableHtml - Variable in class io.github.swsk33.codepostspringbootstarter.property.CoreProperties
启用是否发送HTML邮件
enableHTML - Variable in class io.github.swsk33.codepostcore.model.config.MailConfig
启用是否发送HTML邮件
enableTls - Variable in class io.github.swsk33.codepostspringbootstarter.property.CoreProperties
是否开启TLS加密
enableTLS - Variable in class io.github.swsk33.codepostcore.model.config.MailConfig
是否启用TLS加密协议
executor - Variable in class io.github.swsk33.codepostcore.strategy.impl.ThreadPoolCodeStrategy
任务调度器

F

FILE_PATH_PREFIX - Static variable in class io.github.swsk33.codepostcore.config.FreeMarkerLoaderConfig
文件系统配置路径前缀
FreeMarkerLoaderConfig - Class in io.github.swsk33.codepostcore.config
FreeMarker模板引擎的加载器配置
FreeMarkerLoaderConfig() - Constructor for class io.github.swsk33.codepostcore.config.FreeMarkerLoaderConfig
 

G

generateCode(int) - Method in interface io.github.swsk33.codepostcore.strategy.CodeGenerateStrategy
生成一个随机验证码
generateCode(int) - Method in class io.github.swsk33.codepostcore.strategy.impl.CharCodeGenerateStrategy
 
generateCode(int) - Method in class io.github.swsk33.codepostcore.strategy.impl.NumberCharCodeGenerateStrategy
 
generateCode(int) - Method in class io.github.swsk33.codepostcore.strategy.impl.NumberCodeGenerateStrategy
 
generateCode(String, int) - Static method in class io.github.swsk33.codepostcore.strategy.context.CodeGenerateContext
调用策略生成验证码
generateCodeKey(String, Object) - Static method in class io.github.swsk33.codepostcore.util.CodeKeyUtils
生成一个验证码键
getClient() - Static method in class io.github.swsk33.codepostcore.config.LettuceClientConfig
获取Redis连接客户端
getCommands() - Static method in class io.github.swsk33.codepostcore.config.LettuceClientConfig
获取Redis命令对象
getConfiguration() - Static method in class io.github.swsk33.codepostcore.config.FreeMarkerLoaderConfig
获取FreeMarker配置对象
getInstance() - Static method in class io.github.swsk33.codepostcore.model.config.MailConfig
获取邮件配置唯一单例
getInstance() - Static method in class io.github.swsk33.codepostcore.model.config.RedisClientConfig
获取Redis客户端配置唯一单例
getServiceName(Enum<?>) - Static method in class io.github.swsk33.codepostcore.context.ServiceNameContext
获取一个服务名
getServiceName(String) - Static method in class io.github.swsk33.codepostcore.context.ServiceNameContext
获取一个服务名
getSession() - Static method in class io.github.swsk33.codepostcore.config.MailClientConfig
获取邮件会话对象
getStrategy(String) - Static method in class io.github.swsk33.codepostcore.strategy.context.EmailCodeContext
获取对应的邮件验证码操作策略对象
getTransport() - Static method in class io.github.swsk33.codepostcore.config.MailClientConfig
获取邮件发送对象单例

H

host - Variable in class io.github.swsk33.codepostcore.model.config.RedisClientConfig
Redis地址
host - Variable in class io.github.swsk33.codepostspringbootstarter.property.RedisConfig
Redis服务器地址

I

INSTANCE - Static variable in class io.github.swsk33.codepostcore.model.config.MailConfig
唯一单例
INSTANCE - Static variable in class io.github.swsk33.codepostcore.model.config.RedisClientConfig
唯一单例
io.github.swsk33.codepostcore.config - package io.github.swsk33.codepostcore.config
 
io.github.swsk33.codepostcore.context - package io.github.swsk33.codepostcore.context
 
io.github.swsk33.codepostcore.model.config - package io.github.swsk33.codepostcore.model.config
 
io.github.swsk33.codepostcore.param - package io.github.swsk33.codepostcore.param
 
io.github.swsk33.codepostcore.service - package io.github.swsk33.codepostcore.service
 
io.github.swsk33.codepostcore.service.impl - package io.github.swsk33.codepostcore.service.impl
 
io.github.swsk33.codepostcore.strategy - package io.github.swsk33.codepostcore.strategy
 
io.github.swsk33.codepostcore.strategy.context - package io.github.swsk33.codepostcore.strategy.context
 
io.github.swsk33.codepostcore.strategy.impl - package io.github.swsk33.codepostcore.strategy.impl
 
io.github.swsk33.codepostcore.util - package io.github.swsk33.codepostcore.util
 
io.github.swsk33.codepostspringbootstarter.autoconfigure - package io.github.swsk33.codepostspringbootstarter.autoconfigure
 
io.github.swsk33.codepostspringbootstarter.autoconfigure.config - package io.github.swsk33.codepostspringbootstarter.autoconfigure.config
 
io.github.swsk33.codepostspringbootstarter.property - package io.github.swsk33.codepostspringbootstarter.property
 

L

LettuceClientConfig - Class in io.github.swsk33.codepostcore.config
Redis连接客户端(Lettuce客户端)的配置
LettuceClientConfig() - Constructor for class io.github.swsk33.codepostcore.config.LettuceClientConfig
 
LOCAL_THREAD_POOL - Static variable in class io.github.swsk33.codepostcore.param.CodeStorageMethod
使用本地线程池存放验证码以及管理验证码过期

M

MailClientConfig - Class in io.github.swsk33.codepostcore.config
存放邮件客户端连接对象
MailClientConfig() - Constructor for class io.github.swsk33.codepostcore.config.MailClientConfig
 
mailConfig - Variable in class io.github.swsk33.codepostcore.service.impl.EmailNotifyServiceImpl
配置对象(需自行注入)
mailConfig - Variable in class io.github.swsk33.codepostcore.service.impl.EmailVerifyCodeServiceImpl
邮件配置对象(需自己注入)
mailConfig(CoreProperties) - Method in class io.github.swsk33.codepostspringbootstarter.autoconfigure.config.MailConfigAutoConfiguration
自动配置邮件核心配置类
MailConfig - Class in io.github.swsk33.codepostcore.model.config
一些关于邮件发送的配置
MailConfig() - Constructor for class io.github.swsk33.codepostcore.model.config.MailConfig
私有化构造器
MailConfigAutoConfiguration - Class in io.github.swsk33.codepostspringbootstarter.autoconfigure.config
邮件核心配置类的初始化
MailConfigAutoConfiguration() - Constructor for class io.github.swsk33.codepostspringbootstarter.autoconfigure.config.MailConfigAutoConfiguration
 
MailServiceAutoConfiguration - Class in io.github.swsk33.codepostspringbootstarter.autoconfigure
验证码邮件服务自动配置类
MailServiceAutoConfiguration() - Constructor for class io.github.swsk33.codepostspringbootstarter.autoconfigure.MailServiceAutoConfiguration
 

N

notifyService(MailConfig) - Method in class io.github.swsk33.codepostspringbootstarter.autoconfigure.MailServiceAutoConfiguration
自动配置邮件通知服务类
NUMBER - Static variable in class io.github.swsk33.codepostcore.param.CodeGenerateMethod
纯数字验证码
NUMBER_CHAR - Static variable in class io.github.swsk33.codepostcore.param.CodeGenerateMethod
字母和数字混合验证码
NumberCharCodeGenerateStrategy - Class in io.github.swsk33.codepostcore.strategy.impl
数字和字母验证码生成策略
NumberCharCodeGenerateStrategy() - Constructor for class io.github.swsk33.codepostcore.strategy.impl.NumberCharCodeGenerateStrategy
 
NumberCodeGenerateStrategy - Class in io.github.swsk33.codepostcore.strategy.impl
纯数字验证码生成策略
NumberCodeGenerateStrategy() - Constructor for class io.github.swsk33.codepostcore.strategy.impl.NumberCodeGenerateStrategy
 

P

password - Variable in class io.github.swsk33.codepostcore.model.config.MailConfig
发送者密码(或者授权码)
password - Variable in class io.github.swsk33.codepostcore.model.config.RedisClientConfig
Redis密码
password - Variable in class io.github.swsk33.codepostspringbootstarter.property.CoreProperties
发送者密码(或者授权码)
password - Variable in class io.github.swsk33.codepostspringbootstarter.property.RedisConfig
Redis连接密码
percentEncode(String) - Static method in class io.github.swsk33.codepostcore.util.URLEncodeUtils
百分号编码
port - Variable in class io.github.swsk33.codepostcore.model.config.RedisClientConfig
Redis端口
port - Variable in class io.github.swsk33.codepostspringbootstarter.property.RedisConfig
Redis服务器端口

R

REDIS - Static variable in class io.github.swsk33.codepostcore.param.CodeStorageMethod
使用Redis存放验证码以及管理验证码过期
redisClientConfig(RedisConfig) - Method in class io.github.swsk33.codepostspringbootstarter.autoconfigure.config.RedisConfigAutoConfiguration
自动配置核心Redis配置对象
RedisClientConfig - Class in io.github.swsk33.codepostcore.model.config
Redis客户端配置(使用Redis存放验证码时)
RedisClientConfig() - Constructor for class io.github.swsk33.codepostcore.model.config.RedisClientConfig
私有化构造器
RedisCodeStrategy - Class in io.github.swsk33.codepostcore.strategy.impl
使用Redis管理验证码的策略
RedisCodeStrategy() - Constructor for class io.github.swsk33.codepostcore.strategy.impl.RedisCodeStrategy
构造器:初始化命令执行对象
RedisConfig - Class in io.github.swsk33.codepostspringbootstarter.property
 
RedisConfig() - Constructor for class io.github.swsk33.codepostspringbootstarter.property.RedisConfig
 
RedisConfigAutoConfiguration - Class in io.github.swsk33.codepostspringbootstarter.autoconfigure.config
使用Redis管理验证码时,初始化Redis客户端的自动配置类
RedisConfigAutoConfiguration() - Constructor for class io.github.swsk33.codepostspringbootstarter.autoconfigure.config.RedisConfigAutoConfiguration
 
register(Enum<?>, String) - Static method in class io.github.swsk33.codepostcore.context.ServiceNameContext
注册服务名
register(String, String) - Static method in class io.github.swsk33.codepostcore.context.ServiceNameContext
注册服务名
renderTemplate(Map<String, Object>, String) - Static method in class io.github.swsk33.codepostcore.util.TemplateUtils
渲染模板
renderVerifyMailTemplate(String, String, long, TimeUnit) - Static method in class io.github.swsk33.codepostcore.util.TemplateUtils
渲染一个验证码邮件模板
resetTemplatePath() - Method in class io.github.swsk33.codepostcore.model.config.MailConfig
重置模板文件夹和验证码模板文件名为内置默认值

S

saveCode(String, String, long, TimeUnit) - Method in interface io.github.swsk33.codepostcore.strategy.EmailCodeStrategy
暂存验证码
saveCode(String, String, long, TimeUnit) - Method in class io.github.swsk33.codepostcore.strategy.impl.RedisCodeStrategy
 
saveCode(String, String, long, TimeUnit) - Method in class io.github.swsk33.codepostcore.strategy.impl.ThreadPoolCodeStrategy
 
saveCode(String, String, String, long, TimeUnit) - Static method in class io.github.swsk33.codepostcore.strategy.context.EmailCodeContext
暂存验证码
scheduleMap - Variable in class io.github.swsk33.codepostcore.strategy.impl.ThreadPoolCodeStrategy
存放全部调度任务的哈希表
sendCode(Enum<?>, Object, String, long, TimeUnit) - Method in interface io.github.swsk33.codepostcore.service.EmailVerifyCodeService
发送验证码,使用自定义服务名
sendCode(Enum<?>, Object, String, long, TimeUnit) - Method in class io.github.swsk33.codepostcore.service.impl.EmailVerifyCodeServiceImpl
 
sendCode(Object, String, long, TimeUnit) - Method in interface io.github.swsk33.codepostcore.service.EmailVerifyCodeService
发送验证码,使用默认服务名
sendCode(Object, String, long, TimeUnit) - Method in class io.github.swsk33.codepostcore.service.impl.EmailVerifyCodeServiceImpl
 
sendCode(String, Object, String, long, TimeUnit) - Method in interface io.github.swsk33.codepostcore.service.EmailVerifyCodeService
发送验证码,使用自定义服务名
sendCode(String, Object, String, long, TimeUnit) - Method in class io.github.swsk33.codepostcore.service.impl.EmailVerifyCodeServiceImpl
 
sendEmail(String, String, String[], boolean) - Static method in class io.github.swsk33.codepostcore.util.EmailSendUtils
发送邮件
sendTemplateNotify(String, String, Map<String, Object>, String) - Method in interface io.github.swsk33.codepostcore.service.EmailNotifyService
发送单个邮件通知
sendTemplateNotify(String, String, Map<String, Object>, String) - Method in class io.github.swsk33.codepostcore.service.impl.EmailNotifyServiceImpl
 
sendTemplateNotify(String, String, Map<String, Object>, String[]) - Method in interface io.github.swsk33.codepostcore.service.EmailNotifyService
批量发送邮件通知
sendTemplateNotify(String, String, Map<String, Object>, String[]) - Method in class io.github.swsk33.codepostcore.service.impl.EmailNotifyServiceImpl
 
SERVICE_NAME_MAP - Static variable in class io.github.swsk33.codepostcore.context.ServiceNameContext
存放所有服务名的哈希表
ServiceNameContext - Class in io.github.swsk33.codepostcore.context
所有验证码相关服务名管理上下文
建议使用枚举或者字符串常量作为服务名的键
ServiceNameContext() - Constructor for class io.github.swsk33.codepostcore.context.ServiceNameContext
 
session - Static variable in class io.github.swsk33.codepostcore.config.MailClientConfig
邮件会话对象
setMailConfig(MailConfig) - Method in class io.github.swsk33.codepostspringbootstarter.property.CoreProperties
将读取到的配置设定到邮件配置对象中去
setRedisConfig(RedisClientConfig) - Method in class io.github.swsk33.codepostspringbootstarter.property.RedisConfig
将读取到的配置设定到核心Redis配置中去
siteName - Variable in class io.github.swsk33.codepostcore.model.config.MailConfig
网站名
siteName - Variable in class io.github.swsk33.codepostspringbootstarter.property.CoreProperties
网站名
smtpHost - Variable in class io.github.swsk33.codepostspringbootstarter.property.CoreProperties
SMTP服务器地址
SMTPHost - Variable in class io.github.swsk33.codepostcore.model.config.MailConfig
SMTP服务器地址
strategyClassMap - Static variable in class io.github.swsk33.codepostcore.strategy.context.EmailCodeContext
存放策略名称对应策略类的哈希表,用于延迟初始化

T

templateFileSystemAbsolutePath - Static variable in class io.github.swsk33.codepostcore.config.FreeMarkerLoaderConfig
如果模板文件位于文件系统上,则该变量记录模板绝对路径,否则该变量不使用
templatePath - Variable in class io.github.swsk33.codepostcore.model.config.MailConfig
模板文件所在目录 需要以file:或者classpath:开头,分别代表文件系统路径或者类路径
templatePath - Variable in class io.github.swsk33.codepostspringbootstarter.property.CoreProperties
模板文件所在目录 需要以file:或者classpath:开头,分别代表文件系统路径或者类路径
TemplateUtils - Class in io.github.swsk33.codepostcore.util
FreeMarker模板实用类
TemplateUtils() - Constructor for class io.github.swsk33.codepostcore.util.TemplateUtils
 
ThreadPoolCodeStrategy - Class in io.github.swsk33.codepostcore.strategy.impl
基于本地线程池的验证码管理策略
ThreadPoolCodeStrategy() - Constructor for class io.github.swsk33.codepostcore.strategy.impl.ThreadPoolCodeStrategy
构造器,用于初始化所有的对象
TIME_UNIT_NAME_MAP - Static variable in class io.github.swsk33.codepostcore.util.TemplateUtils
存放每个时间单位的名称
toAbsolutePath(String) - Static method in class io.github.swsk33.codepostcore.util.ClassPathUtils
将一个相对路径形式的classpath处理成绝对路径
例如传入xxx/file.txt,则转换为/xxx/file.txt
transport - Static variable in class io.github.swsk33.codepostcore.config.MailClientConfig
邮件发送对象单例

U

unregister(Enum<?>) - Static method in class io.github.swsk33.codepostcore.context.ServiceNameContext
删除一个服务名
unregister(String) - Static method in class io.github.swsk33.codepostcore.context.ServiceNameContext
删除一个服务名
URLEncodeUtils - Class in io.github.swsk33.codepostcore.util
URL编码的实用类
URLEncodeUtils() - Constructor for class io.github.swsk33.codepostcore.util.URLEncodeUtils
 

V

verifyCode(Enum<?>, Object, String) - Method in interface io.github.swsk33.codepostcore.service.EmailVerifyCodeService
校验验证码,使用自定义服务名
verifyCode(Enum<?>, Object, String) - Method in class io.github.swsk33.codepostcore.service.impl.EmailVerifyCodeServiceImpl
 
verifyCode(Object, String) - Method in interface io.github.swsk33.codepostcore.service.EmailVerifyCodeService
校验验证码,使用默认服务名
verifyCode(Object, String) - Method in class io.github.swsk33.codepostcore.service.impl.EmailVerifyCodeServiceImpl
 
verifyCode(String, Object, String) - Method in interface io.github.swsk33.codepostcore.service.EmailVerifyCodeService
校验验证码,使用自定义服务名
verifyCode(String, Object, String) - Method in class io.github.swsk33.codepostcore.service.impl.EmailVerifyCodeServiceImpl
 
verifyCode(String, String) - Method in interface io.github.swsk33.codepostcore.strategy.EmailCodeStrategy
校验验证码 校验成功后验证码立即失效
verifyCode(String, String) - Method in class io.github.swsk33.codepostcore.strategy.impl.RedisCodeStrategy
 
verifyCode(String, String) - Method in class io.github.swsk33.codepostcore.strategy.impl.ThreadPoolCodeStrategy
 
verifyCode(String, String, String) - Static method in class io.github.swsk33.codepostcore.strategy.context.EmailCodeContext
校验验证码
verifyCodeService(MailConfig) - Method in class io.github.swsk33.codepostspringbootstarter.autoconfigure.MailServiceAutoConfiguration
自动配置邮件验证码服务类
C D E F G H I L M N P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values