Index

A B C D E F G H I J K L M N O P R S T U V W X Y 
All Classes and Interfaces|All Packages|Serialized Form

A

AbstractCaptchaGenerator - Class in cloud.opencode.base.captcha.generator
Abstract Captcha Generator - Base class for CAPTCHA generators 抽象验证码生成器 - 验证码生成器的基类
AbstractCaptchaGenerator() - Constructor for class cloud.opencode.base.captcha.generator.AbstractCaptchaGenerator
 
accelerations() - Method in record class cloud.opencode.base.captcha.security.TrajectoryData
Calculates acceleration sequence from the speed sequence.
addFrame(BufferedImage) - Method in class cloud.opencode.base.captcha.codec.GifEncoder
Adds a frame to the GIF.
addListener(CaptchaEventListener) - Method in class cloud.opencode.base.captcha.CaptchaEventDispatcher
Registers an event listener.
addValidator(CaptchaValidator) - Method in class cloud.opencode.base.captcha.validator.CompositeValidator.Builder
Adds a validator to the chain.
alpha() - Static method in interface cloud.opencode.base.captcha.generator.CaptchaGenerator
Creates an alphabetic CAPTCHA generator.
alpha() - Static method in class cloud.opencode.base.captcha.OpenCaptcha
Creates an alphabetic CAPTCHA.
ALPHA - Enum constant in enum class cloud.opencode.base.captcha.CaptchaType
Alphabetic CAPTCHA (letters only) 字母验证码(仅字母)
ALPHA - Static variable in class cloud.opencode.base.captcha.support.CaptchaChars
Alphabetic mixed case characters | 字母混合大小写字符
ALPHA_LOWER - Static variable in class cloud.opencode.base.captcha.support.CaptchaChars
Alphabetic lowercase characters | 字母小写字符
ALPHA_UPPER - Static variable in class cloud.opencode.base.captcha.support.CaptchaChars
Alphabetic uppercase characters | 字母大写字符
alphanumeric() - Static method in interface cloud.opencode.base.captcha.generator.CaptchaGenerator
Creates an alphanumeric CAPTCHA generator.
alphanumeric() - Static method in class cloud.opencode.base.captcha.OpenCaptcha
Creates an alphanumeric CAPTCHA.
ALPHANUMERIC - Enum constant in enum class cloud.opencode.base.captcha.CaptchaType
Alphanumeric CAPTCHA (letters and digits) 字母数字验证码(字母和数字)
ALPHANUMERIC - Static variable in class cloud.opencode.base.captcha.support.CaptchaChars
Alphanumeric characters (avoiding similar characters like 0/O, 1/l/I) | 字母数字字符(避免相似字符)
analyze(TrajectoryData) - Method in class cloud.opencode.base.captcha.security.TrajectoryAnalyzer
Analyzes trajectory data and returns a result indicating whether the trajectory appears human or bot-like.
analyze(String, Duration, boolean) - Method in class cloud.opencode.base.captcha.security.BehaviorAnalyzer
Analyzes behavior for a client.
answer() - Method in record class cloud.opencode.base.captcha.Captcha
Returns the value of the answer record component.
AntiBotStrategy - Class in cloud.opencode.base.captcha.security
Anti-Bot Strategy - Adaptive CAPTCHA difficulty strategy 反机器人策略 - 自适应验证码难度策略
AntiBotStrategy(BehaviorAnalyzer) - Constructor for class cloud.opencode.base.captcha.security.AntiBotStrategy
Creates a new strategy with the given analyzer.
applySineWarp(BufferedImage, double, double) - Static method in class cloud.opencode.base.captcha.support.CaptchaNoiseUtil
Applies sine wave warp distortion to an image.
applyTo(CaptchaConfig.Builder) - Method in enum class cloud.opencode.base.captcha.support.CaptchaStrength
Applies this strength to a configuration builder.
arithmetic() - Static method in interface cloud.opencode.base.captcha.generator.CaptchaGenerator
Creates an arithmetic CAPTCHA generator.
arithmetic() - Static method in class cloud.opencode.base.captcha.OpenCaptcha
Creates an arithmetic CAPTCHA.
ARITHMETIC - Enum constant in enum class cloud.opencode.base.captcha.CaptchaType
Arithmetic CAPTCHA (math expression) 算术验证码(数学表达式)
ArithmeticCaptchaGenerator - Class in cloud.opencode.base.captcha.generator
Arithmetic Captcha Generator - Generates arithmetic expression CAPTCHA 算术验证码生成器 - 生成算术表达式验证码
ArithmeticCaptchaGenerator() - Constructor for class cloud.opencode.base.captcha.generator.ArithmeticCaptchaGenerator
 
audio() - Static method in interface cloud.opencode.base.captcha.generator.CaptchaGenerator
Creates an audio CAPTCHA generator.
audio() - Static method in class cloud.opencode.base.captcha.OpenCaptcha
Creates an audio CAPTCHA.
audio() - Static method in interface cloud.opencode.base.captcha.renderer.CaptchaRenderer
Creates an audio renderer.
AUDIO - Enum constant in enum class cloud.opencode.base.captcha.CaptchaType
Audio CAPTCHA (audio challenge) 音频验证码(音频挑战)
AudioCaptchaGenerator - Class in cloud.opencode.base.captcha.generator
Audio Captcha Generator - Generates audio CAPTCHA challenges as WAV files 音频验证码生成器 - 生成 WAV 格式的音频验证码挑战
AudioCaptchaGenerator() - Constructor for class cloud.opencode.base.captcha.generator.AudioCaptchaGenerator
 
AudioCaptchaRenderer - Class in cloud.opencode.base.captcha.renderer
Audio Captcha Renderer - Renders CAPTCHA as WAV audio 音频验证码渲染器 - 将验证码渲染为 WAV 音频
AudioCaptchaRenderer() - Constructor for class cloud.opencode.base.captcha.renderer.AudioCaptchaRenderer
 
audioSpeedVariation(float) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets the audio speed variation range.
averageResponseTime() - Method in record class cloud.opencode.base.captcha.support.CaptchaMetrics.MetricsSnapshot
Returns the value of the averageResponseTime record component.

B

backgroundColor(Color) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets the background color.
base64() - Static method in interface cloud.opencode.base.captcha.renderer.CaptchaRenderer
Creates a Base64 renderer.
Base64CaptchaRenderer - Class in cloud.opencode.base.captcha.renderer
Base64 Captcha Renderer - Renders CAPTCHA as Base64 data URL Base64 验证码渲染器 - 将验证码渲染为 Base64 数据 URL
Base64CaptchaRenderer() - Constructor for class cloud.opencode.base.captcha.renderer.Base64CaptchaRenderer
 
BehaviorAnalyzer - Class in cloud.opencode.base.captcha.security
Behavior Analyzer - Analyzes user behavior for bot detection 行为分析器 - 分析用户行为以检测机器人
BehaviorAnalyzer() - Constructor for class cloud.opencode.base.captcha.security.BehaviorAnalyzer
 
BehaviorAnalyzer.AnalysisResult - Enum Class in cloud.opencode.base.captcha.security
Analysis result enumeration.
BehaviorAnalyzer.ClientBehavior - Class in cloud.opencode.base.captcha.security
Client behavior tracking.
BehaviorCaptchaValidator - Class in cloud.opencode.base.captcha.validator
Behavior Captcha Validator - Validation with behavior analysis 行为验证码验证器 - 带行为分析的验证
BehaviorCaptchaValidator(CaptchaStore) - Constructor for class cloud.opencode.base.captcha.validator.BehaviorCaptchaValidator
Creates a new behavior validator with the specified store.
BehaviorCaptchaValidator(CaptchaStore, BehaviorAnalyzer) - Constructor for class cloud.opencode.base.captcha.validator.BehaviorCaptchaValidator
Creates a new behavior validator with custom analyzer.
bezierNoiseEnabled(boolean) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets whether Bezier curve noise is enabled.
BOT_CONSTANT_SPEED - Enum constant in enum class cloud.opencode.base.captcha.security.TrajectoryAnalyzer.TrajectoryResult
Constant speed (bot-like) | 恒速移动(机器人特征)
BOT_LINEAR - Enum constant in enum class cloud.opencode.base.captcha.security.TrajectoryAnalyzer.TrajectoryResult
Linear trajectory (bot-like) | 直线轨迹(机器人特征)
BOT_NO_JITTER - Enum constant in enum class cloud.opencode.base.captcha.security.TrajectoryAnalyzer.TrajectoryResult
No micro-jitter (bot-like) | 无微抖动(机器人特征)
BOT_TOO_FAST - Enum constant in enum class cloud.opencode.base.captcha.security.TrajectoryAnalyzer.TrajectoryResult
Too fast completion (bot-like) | 过快完成(机器人特征)
build() - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Builds the configuration after validating all parameters.
build() - Method in class cloud.opencode.base.captcha.OpenCaptcha.Builder
Builds the OpenCaptcha instance.
build() - Method in class cloud.opencode.base.captcha.store.RedisCaptchaStore.Builder
Builds the RedisCaptchaStore.
build() - Method in class cloud.opencode.base.captcha.support.CaptchaPool.Builder
Builds and starts the CaptchaPool.
build() - Method in class cloud.opencode.base.captcha.validator.CompositeValidator.Builder
Builds the CompositeValidator.
buildCaptcha(CaptchaType, byte[], String, CaptchaConfig) - Method in class cloud.opencode.base.captcha.generator.AbstractCaptchaGenerator
Builds a CAPTCHA from generated data.
builder() - Static method in class cloud.opencode.base.captcha.CaptchaConfig
Creates a builder for configuration.
builder() - Static method in class cloud.opencode.base.captcha.OpenCaptcha
Creates a builder for OpenCaptcha.
builder() - Static method in class cloud.opencode.base.captcha.store.RedisCaptchaStore
Creates a new builder.
builder() - Static method in class cloud.opencode.base.captcha.support.CaptchaPool
Creates a new builder for CaptchaPool.
builder() - Static method in class cloud.opencode.base.captcha.validator.CompositeValidator
Creates a builder for constructing a CompositeValidator.
Builder() - Constructor for class cloud.opencode.base.captcha.store.RedisCaptchaStore.Builder
 

C

calculateOverlapSpacing(int, int, float, float) - Static method in class cloud.opencode.base.captcha.support.CaptchaNoiseUtil
Calculates character spacing with overlap for anti-OCR.
Captcha - Record Class in cloud.opencode.base.captcha
Captcha - CAPTCHA data container 验证码 - 验证码数据容器
Captcha(String, CaptchaType, byte[], String, Map, Instant, Instant) - Constructor for record class cloud.opencode.base.captcha.Captcha
Compact constructor that makes defensive copies to ensure immutability.
CaptchaChars - Class in cloud.opencode.base.captcha.support
Captcha Characters - Character generation utilities 验证码字符 - 字符生成工具
CaptchaConfig - Class in cloud.opencode.base.captcha
Captcha Configuration - Configuration for CAPTCHA generation 验证码配置 - 验证码生成配置
CaptchaConfig.Builder - Class in cloud.opencode.base.captcha
Configuration Builder 配置构建器
CaptchaDifficultyAdapter - Class in cloud.opencode.base.captcha.support
Captcha Difficulty Adapter - Adaptive difficulty adjustment 验证码难度适配器 - 自适应难度调整
CaptchaDifficultyAdapter() - Constructor for class cloud.opencode.base.captcha.support.CaptchaDifficultyAdapter
 
CaptchaEventDispatcher - Class in cloud.opencode.base.captcha
Captcha Event Dispatcher - Manages and dispatches CAPTCHA lifecycle events 验证码事件分发器 - 管理和分发验证码生命周期事件
CaptchaEventDispatcher() - Constructor for class cloud.opencode.base.captcha.CaptchaEventDispatcher
 
CaptchaEventListener - Interface in cloud.opencode.base.captcha
Captcha Event Listener - Interface for CAPTCHA lifecycle event callbacks 验证码事件监听器 - 验证码生命周期事件回调接口
CaptchaException - Exception Class in cloud.opencode.base.captcha.exception
Captcha Exception - Base exception for CAPTCHA operations 验证码异常 - 验证码操作的基础异常
CaptchaException(String) - Constructor for exception class cloud.opencode.base.captcha.exception.CaptchaException
Constructs a new exception with the specified message.
CaptchaException(String, String) - Constructor for exception class cloud.opencode.base.captcha.exception.CaptchaException
Constructs a new exception with message and error code.
CaptchaException(String, String, Throwable) - Constructor for exception class cloud.opencode.base.captcha.exception.CaptchaException
Constructs a new exception with message, error code, and cause.
CaptchaException(String, Throwable) - Constructor for exception class cloud.opencode.base.captcha.exception.CaptchaException
Constructs a new exception with the specified message and cause.
CaptchaException(Throwable) - Constructor for exception class cloud.opencode.base.captcha.exception.CaptchaException
Constructs a new exception with the specified cause.
CaptchaExpiredException - Exception Class in cloud.opencode.base.captcha.exception
Captcha Expired Exception - Thrown when CAPTCHA has expired 验证码过期异常 - 当验证码过期时抛出
CaptchaExpiredException(String) - Constructor for exception class cloud.opencode.base.captcha.exception.CaptchaExpiredException
Constructs a new exception with the captcha ID.
CaptchaExpiredException(String, String) - Constructor for exception class cloud.opencode.base.captcha.exception.CaptchaExpiredException
Constructs a new exception with message and captcha ID.
CaptchaFontUtil - Class in cloud.opencode.base.captcha.support
Captcha Font Utility - Font handling utilities 验证码字体工具 - 字体处理工具
CaptchaGenerationException - Exception Class in cloud.opencode.base.captcha.exception
Captcha Generation Exception - Thrown when CAPTCHA generation fails 验证码生成异常 - 当验证码生成失败时抛出
CaptchaGenerationException(String) - Constructor for exception class cloud.opencode.base.captcha.exception.CaptchaGenerationException
Constructs a new exception with the specified message.
CaptchaGenerationException(String, CaptchaType) - Constructor for exception class cloud.opencode.base.captcha.exception.CaptchaGenerationException
Constructs a new exception with message and CAPTCHA type.
CaptchaGenerationException(String, CaptchaType, Throwable) - Constructor for exception class cloud.opencode.base.captcha.exception.CaptchaGenerationException
Constructs a new exception with message, type and cause.
CaptchaGenerationException(String, Throwable) - Constructor for exception class cloud.opencode.base.captcha.exception.CaptchaGenerationException
Constructs a new exception with message and cause.
CaptchaGenerator - Interface in cloud.opencode.base.captcha.generator
Captcha Generator - Sealed interface for CAPTCHA generation 验证码生成器 - 验证码生成的密封接口
CaptchaMetrics - Class in cloud.opencode.base.captcha.support
Captcha Metrics - Lightweight metrics collection for CAPTCHA operations 验证码指标 - 轻量级验证码操作指标收集器
CaptchaMetrics.MetricsSnapshot - Record Class in cloud.opencode.base.captcha.support
Immutable Metrics Snapshot - Point-in-time capture of all CAPTCHA metrics 不可变指标快照 - 所有验证码指标的时间点捕获
CaptchaNoiseUtil - Class in cloud.opencode.base.captcha.support
Captcha Noise Utility - Noise generation utilities 验证码噪点工具 - 噪点生成工具
CaptchaNotFoundException - Exception Class in cloud.opencode.base.captcha.exception
Captcha Not Found Exception - Thrown when CAPTCHA is not found 验证码未找到异常 - 当验证码未找到时抛出
CaptchaNotFoundException(String) - Constructor for exception class cloud.opencode.base.captcha.exception.CaptchaNotFoundException
Constructs a new exception with the captcha ID.
CaptchaNotFoundException(String, String) - Constructor for exception class cloud.opencode.base.captcha.exception.CaptchaNotFoundException
Constructs a new exception with message and captcha ID.
CaptchaPool - Class in cloud.opencode.base.captcha.support
Captcha Pool - Pre-generates CAPTCHAs in background for instant retrieval 验证码池 - 在后台预生成验证码以实现即时获取
CaptchaPool.Builder - Class in cloud.opencode.base.captcha.support
Builder for CaptchaPool CaptchaPool 构建器
CaptchaRateLimiter - Class in cloud.opencode.base.captcha.validator
Captcha Rate Limiter - Rate limiting for CAPTCHA requests 验证码速率限制器 - 验证码请求的速率限制
CaptchaRateLimiter() - Constructor for class cloud.opencode.base.captcha.validator.CaptchaRateLimiter
Creates a rate limiter with default settings (10 requests per minute).
CaptchaRateLimiter(int, Duration) - Constructor for class cloud.opencode.base.captcha.validator.CaptchaRateLimiter
Creates a rate limiter with specified settings.
CaptchaRateLimitException - Exception Class in cloud.opencode.base.captcha.exception
Captcha Rate Limit Exception - Thrown when rate limit is exceeded 验证码速率限制异常 - 当超过速率限制时抛出
CaptchaRateLimitException(String) - Constructor for exception class cloud.opencode.base.captcha.exception.CaptchaRateLimitException
Constructs a new exception with the client ID.
CaptchaRateLimitException(String, Duration) - Constructor for exception class cloud.opencode.base.captcha.exception.CaptchaRateLimitException
Constructs a new exception with client ID and retry duration.
CaptchaRenderer - Interface in cloud.opencode.base.captcha.renderer
Captcha Renderer - Interface for CAPTCHA rendering 验证码渲染器 - 验证码渲染接口
CaptchaSecurity - Class in cloud.opencode.base.captcha.security
Captcha Security - Security utilities for CAPTCHA 验证码安全 - 验证码安全工具
CaptchaStore - Interface in cloud.opencode.base.captcha.store
Captcha Store - Interface for CAPTCHA storage 验证码存储 - 验证码存储接口
CaptchaStrength - Enum Class in cloud.opencode.base.captcha.support
Captcha Strength - CAPTCHA difficulty levels 验证码强度 - 验证码难度级别
CaptchaType - Enum Class in cloud.opencode.base.captcha
Captcha Type - Enumeration of supported CAPTCHA types 验证码类型 - 支持的验证码类型枚举
CaptchaValidator - Interface in cloud.opencode.base.captcha.validator
Captcha Validator - Interface for CAPTCHA validation 验证码验证器 - 验证码验证接口
CaptchaVerifyException - Exception Class in cloud.opencode.base.captcha.exception
Captcha Verify Exception - Thrown when CAPTCHA verification fails 验证码验证异常 - 当验证码验证失败时抛出
CaptchaVerifyException(String) - Constructor for exception class cloud.opencode.base.captcha.exception.CaptchaVerifyException
Constructs a new exception with the captcha ID.
CaptchaVerifyException(String, String) - Constructor for exception class cloud.opencode.base.captcha.exception.CaptchaVerifyException
Constructs a new exception with captcha ID and provided answer.
CaptchaVerifyException(String, String, Throwable) - Constructor for exception class cloud.opencode.base.captcha.exception.CaptchaVerifyException
Constructs a new exception with message and captcha ID.
caseSensitive(boolean) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets case sensitivity.
charOverlapRatio(float) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets the character overlap ratio.
chinese() - Static method in interface cloud.opencode.base.captcha.generator.CaptchaGenerator
Creates a Chinese CAPTCHA generator.
chinese() - Static method in class cloud.opencode.base.captcha.OpenCaptcha
Creates a Chinese CAPTCHA.
CHINESE - Enum constant in enum class cloud.opencode.base.captcha.CaptchaType
Chinese CAPTCHA (Chinese characters) 中文验证码(中文字符)
CHINESE - Static variable in class cloud.opencode.base.captcha.support.CaptchaChars
Common Chinese characters for CAPTCHA | 常用中文验证码字符
ChineseCaptchaGenerator - Class in cloud.opencode.base.captcha.generator
Chinese Captcha Generator - Generates Chinese character CAPTCHA 中文验证码生成器 - 生成中文字符验证码
ChineseCaptchaGenerator() - Constructor for class cloud.opencode.base.captcha.generator.ChineseCaptchaGenerator
 
clear(String) - Method in class cloud.opencode.base.captcha.security.BehaviorAnalyzer
Clears behavior data for a client.
clear(String) - Method in class cloud.opencode.base.captcha.validator.CaptchaRateLimiter
Clears a client's rate limit.
clearAll() - Method in interface cloud.opencode.base.captcha.store.CaptchaStore
Clears all CAPTCHAs.
clearAll() - Method in class cloud.opencode.base.captcha.store.HashedCaptchaStore
 
clearAll() - Method in class cloud.opencode.base.captcha.store.MemoryCaptchaStore
 
clearAll() - Method in class cloud.opencode.base.captcha.store.RedisCaptchaStore
 
clearAll() - Method in class cloud.opencode.base.captcha.support.CaptchaDifficultyAdapter
Clears all client records.
clearExpired() - Method in interface cloud.opencode.base.captcha.store.CaptchaStore
Clears all expired CAPTCHAs.
clearExpired() - Method in class cloud.opencode.base.captcha.store.HashedCaptchaStore
 
clearExpired() - Method in class cloud.opencode.base.captcha.store.MemoryCaptchaStore
 
clearExpired() - Method in class cloud.opencode.base.captcha.store.RedisCaptchaStore
 
clearExpired() - Method in class cloud.opencode.base.captcha.validator.CaptchaRateLimiter
Clears all expired entries.
clearOld() - Method in class cloud.opencode.base.captcha.security.BehaviorAnalyzer
Clears all old behavior data.
clearOldRecords() - Method in class cloud.opencode.base.captcha.validator.BehaviorCaptchaValidator
Clears old creation records.
clearOldRecords() - Method in class cloud.opencode.base.captcha.validator.TimeBasedCaptchaValidator
Clears old creation time records.
click() - Static method in class cloud.opencode.base.captcha.OpenCaptcha
Creates a click CAPTCHA.
CLICK - Enum constant in enum class cloud.opencode.base.captcha.CaptchaType
Click CAPTCHA (click specific areas) 点击验证码(点击特定区域)
ClickCaptchaGenerator - Class in cloud.opencode.base.captcha.interactive
Click Captcha Generator - Generates click verification CAPTCHA 点击验证码生成器 - 生成点击验证验证码
ClickCaptchaGenerator() - Constructor for class cloud.opencode.base.captcha.interactive.ClickCaptchaGenerator
 
ClientBehavior() - Constructor for class cloud.opencode.base.captcha.security.BehaviorAnalyzer.ClientBehavior
 
close() - Method in class cloud.opencode.base.captcha.store.MemoryCaptchaStore
Closes this store and shuts down the cleanup scheduler.
close() - Method in class cloud.opencode.base.captcha.support.CaptchaPool
Shuts down the pool and interrupts the background fill thread.
cloud.opencode.base.captcha - module cloud.opencode.base.captcha
OpenCode Base Captcha Module OpenCode Base 验证码模块
cloud.opencode.base.captcha - package cloud.opencode.base.captcha
OpenCode Base Captcha - Zero-dependency CAPTCHA generation library OpenCode Base 验证码 - 零依赖验证码生成库
cloud.opencode.base.captcha.codec - package cloud.opencode.base.captcha.codec
CAPTCHA Codecs 验证码编解码器
cloud.opencode.base.captcha.exception - package cloud.opencode.base.captcha.exception
CAPTCHA Exception Classes 验证码异常类
cloud.opencode.base.captcha.generator - package cloud.opencode.base.captcha.generator
CAPTCHA Generators 验证码生成器
cloud.opencode.base.captcha.interactive - package cloud.opencode.base.captcha.interactive
Interactive CAPTCHA Generators 交互式验证码生成器
cloud.opencode.base.captcha.renderer - package cloud.opencode.base.captcha.renderer
CAPTCHA Renderers 验证码渲染器
cloud.opencode.base.captcha.security - package cloud.opencode.base.captcha.security
CAPTCHA Security 验证码安全
cloud.opencode.base.captcha.store - package cloud.opencode.base.captcha.store
CAPTCHA Storage 验证码存储
cloud.opencode.base.captcha.support - package cloud.opencode.base.captcha.support
CAPTCHA Support Utilities 验证码支持工具
cloud.opencode.base.captcha.validator - package cloud.opencode.base.captcha.validator
CAPTCHA Validators 验证码验证器
code() - Method in record class cloud.opencode.base.captcha.ValidationResult
Returns the value of the code record component.
composite(CaptchaValidator, CaptchaValidator...) - Static method in interface cloud.opencode.base.captcha.validator.CaptchaValidator
Creates a composite validator that chains multiple validators.
CompositeValidator - Class in cloud.opencode.base.captcha.validator
Composite Validator - Chains multiple CaptchaValidator instances with short-circuit semantics 组合验证器 - 链式组合多个 CaptchaValidator 实例,支持短路语义
CompositeValidator.Builder - Class in cloud.opencode.base.captcha.validator
Builder for CompositeValidator 组合验证器构建器
config(CaptchaConfig) - Method in class cloud.opencode.base.captcha.OpenCaptcha.Builder
Sets the configuration.
config(CaptchaConfig) - Method in class cloud.opencode.base.captcha.support.CaptchaPool.Builder
Sets the CAPTCHA configuration for generation.
CONSISTENT_TIMING - Enum constant in enum class cloud.opencode.base.captcha.security.BehaviorAnalyzer.AnalysisResult
Consistent timing suggests automation | 一致的时间表明自动化
constantTimeEquals(String, String) - Static method in class cloud.opencode.base.captcha.security.CaptchaSecurity
Constant-time string comparison to prevent timing attacks.
Core Classes | 核心类 - Section in package cloud.opencode.base.captcha
 
create() - Static method in class cloud.opencode.base.captcha.OpenCaptcha
Creates a CAPTCHA with default configuration.
create() - Static method in class cloud.opencode.base.captcha.security.AntiBotStrategy
Creates a new strategy with a new analyzer.
create() - Static method in class cloud.opencode.base.captcha.support.CaptchaMetrics
Creates a new metrics instance.
create(CaptchaConfig) - Static method in class cloud.opencode.base.captcha.OpenCaptcha
Creates a CAPTCHA with the specified configuration.
create(CaptchaType) - Static method in class cloud.opencode.base.captcha.OpenCaptcha
Creates a CAPTCHA of the specified type.
create(CaptchaStore) - Static method in class cloud.opencode.base.captcha.validator.PowCaptchaValidator
Creates a new PoW validator with the specified store.
createdAt() - Method in record class cloud.opencode.base.captcha.Captcha
Returns the value of the createdAt record component.
createGraphics(BufferedImage, CaptchaConfig) - Method in class cloud.opencode.base.captcha.generator.AbstractCaptchaGenerator
Creates graphics for the image.
createImage(CaptchaConfig) - Method in class cloud.opencode.base.captcha.generator.AbstractCaptchaGenerator
Creates a buffered image with the specified configuration.
createMetadata(CaptchaConfig) - Method in class cloud.opencode.base.captcha.generator.AbstractCaptchaGenerator
Creates metadata for the CAPTCHA.
customFontPath(String) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Adds a single custom font path.
customFontPaths(List) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets the custom font paths.

D

defaults() - Static method in class cloud.opencode.base.captcha.CaptchaConfig
Creates a default configuration.
deleter(Consumer) - Method in class cloud.opencode.base.captcha.store.RedisCaptchaStore.Builder
Sets the Redis deleter function.
directionChanges() - Method in record class cloud.opencode.base.captcha.security.TrajectoryData
Counts direction changes in the trajectory.
drawBackgroundNoise(Graphics2D, CaptchaConfig) - Static method in class cloud.opencode.base.captcha.support.CaptchaNoiseUtil
Draws background noise.
drawBezierNoise(Graphics2D, int, int, int) - Static method in class cloud.opencode.base.captcha.support.CaptchaNoiseUtil
Draws Bezier curve noise that passes through the character area for anti-OCR.
drawCubicCurveLines(Graphics2D, CaptchaConfig) - Static method in class cloud.opencode.base.captcha.support.CaptchaNoiseUtil
Draws cubic curve lines on the graphics.
drawCurveLines(Graphics2D, CaptchaConfig) - Static method in class cloud.opencode.base.captcha.support.CaptchaNoiseUtil
Draws curve lines on the graphics.
drawGradientBackground(Graphics2D, CaptchaConfig) - Static method in class cloud.opencode.base.captcha.support.CaptchaNoiseUtil
Draws background with gradient.
drawInterferencePattern(Graphics2D, CaptchaConfig) - Static method in class cloud.opencode.base.captcha.support.CaptchaNoiseUtil
Draws interference pattern.
drawNoise(Graphics2D, CaptchaConfig) - Method in class cloud.opencode.base.captcha.generator.AbstractCaptchaGenerator
Draws noise on the image.
drawNoiseDots(Graphics2D, CaptchaConfig) - Static method in class cloud.opencode.base.captcha.support.CaptchaNoiseUtil
Draws noise dots on the graphics.
drawNoiseLines(Graphics2D, CaptchaConfig) - Static method in class cloud.opencode.base.captcha.support.CaptchaNoiseUtil
Draws noise lines on the graphics.
drawOutlineShadow(Graphics2D, String, Font, int, int, Color) - Static method in class cloud.opencode.base.captcha.support.CaptchaNoiseUtil
Draws character outline shadow for anti-OCR.

E

EASY - Enum constant in enum class cloud.opencode.base.captcha.support.CaptchaStrength
Easy - Minimal noise, clear text 简单 - 最少噪点,清晰文本
equals(Object) - Method in record class cloud.opencode.base.captcha.Captcha
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.captcha.security.TrajectoryData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.captcha.security.TrajectoryData.Point
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.captcha.support.CaptchaMetrics.MetricsSnapshot
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.captcha.ValidationResult
Indicates whether some other object is "equal to" this one.
eventListener(CaptchaEventListener) - Method in class cloud.opencode.base.captcha.OpenCaptcha.Builder
Sets the event listener.
exists(String) - Method in interface cloud.opencode.base.captcha.store.CaptchaStore
Checks if a CAPTCHA exists.
exists(String) - Method in class cloud.opencode.base.captcha.store.HashedCaptchaStore
 
exists(String) - Method in class cloud.opencode.base.captcha.store.MemoryCaptchaStore
 
exists(String) - Method in class cloud.opencode.base.captcha.store.RedisCaptchaStore
 
existsChecker(Function) - Method in class cloud.opencode.base.captcha.store.RedisCaptchaStore.Builder
Sets the Redis exists checker function.
expired() - Static method in record class cloud.opencode.base.captcha.ValidationResult
Creates a failed result for expired.
EXPIRED - Enum constant in enum class cloud.opencode.base.captcha.ValidationResult.ResultCode
CAPTCHA expired | 验证码已过期
expiresAt() - Method in record class cloud.opencode.base.captcha.Captcha
Returns the value of the expiresAt record component.
expireTime(Duration) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets the expiration time.
EXTREME - Enum constant in enum class cloud.opencode.base.captcha.support.CaptchaStrength
Extreme - Maximum noise and distortion 极难 - 最大噪点和干扰

F

failedValidations() - Method in record class cloud.opencode.base.captcha.support.CaptchaMetrics.MetricsSnapshot
Returns the value of the failedValidations record component.
finish() - Method in class cloud.opencode.base.captcha.codec.GifEncoder
Finishes the GIF encoding.
fontColors(Color...) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets the font colors.
fontName(String) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets the font name.
fontSize(float) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets the font size.
forType(CaptchaType) - Static method in interface cloud.opencode.base.captcha.generator.CaptchaGenerator
Creates a generator for the specified type.

G

generate() - Method in interface cloud.opencode.base.captcha.generator.CaptchaGenerator
Generates a CAPTCHA with default configuration.
generate() - Method in class cloud.opencode.base.captcha.OpenCaptcha
Generates a CAPTCHA and stores it.
generate(CaptchaConfig) - Method in class cloud.opencode.base.captcha.generator.ArithmeticCaptchaGenerator
 
generate(CaptchaConfig) - Method in class cloud.opencode.base.captcha.generator.AudioCaptchaGenerator
 
generate(CaptchaConfig) - Method in interface cloud.opencode.base.captcha.generator.CaptchaGenerator
Generates a CAPTCHA with the specified configuration.
generate(CaptchaConfig) - Method in class cloud.opencode.base.captcha.generator.ChineseCaptchaGenerator
 
generate(CaptchaConfig) - Method in class cloud.opencode.base.captcha.generator.GifCaptchaGenerator
 
generate(CaptchaConfig) - Method in class cloud.opencode.base.captcha.generator.ImageCaptchaGenerator
 
generate(CaptchaConfig) - Method in class cloud.opencode.base.captcha.generator.PowCaptchaGenerator
Generates a PoW CAPTCHA challenge.
generate(CaptchaConfig) - Method in class cloud.opencode.base.captcha.generator.SpecCaptchaGenerator
 
generate(CaptchaConfig) - Method in class cloud.opencode.base.captcha.generator.TestCaptchaGenerator
Generates a CAPTCHA with the fixed answer and minimal image data.
generate(CaptchaConfig) - Method in class cloud.opencode.base.captcha.interactive.ClickCaptchaGenerator
 
generate(CaptchaConfig) - Method in class cloud.opencode.base.captcha.interactive.ImageSelectCaptchaGenerator
 
generate(CaptchaConfig) - Method in class cloud.opencode.base.captcha.interactive.JigsawCaptchaGenerator
 
generate(CaptchaConfig) - Method in class cloud.opencode.base.captcha.interactive.RotateCaptchaGenerator
 
generate(CaptchaConfig) - Method in class cloud.opencode.base.captcha.interactive.SliderCaptchaGenerator
 
generate(CaptchaConfig) - Method in class cloud.opencode.base.captcha.OpenCaptcha
Generates a CAPTCHA with configuration and stores it.
generate(CaptchaType, int) - Static method in class cloud.opencode.base.captcha.support.CaptchaChars
Generates random characters for the specified type.
generateArithmetic() - Static method in class cloud.opencode.base.captcha.support.CaptchaChars
Generates a random arithmetic expression.
generateChinese(int) - Static method in class cloud.opencode.base.captcha.support.CaptchaChars
Generates random Chinese characters.
generateFromChars(char[], int) - Static method in class cloud.opencode.base.captcha.support.CaptchaChars
Generates random characters from the specified character set.
generateId() - Method in class cloud.opencode.base.captcha.generator.AbstractCaptchaGenerator
Generates a unique CAPTCHA ID.
generateSalt() - Static method in class cloud.opencode.base.captcha.security.CaptchaSecurity
Generates a random salt.
generateSecureId() - Static method in class cloud.opencode.base.captcha.security.CaptchaSecurity
Generates a secure random ID.
generateSecureToken(int) - Static method in class cloud.opencode.base.captcha.security.CaptchaSecurity
Generates a secure random token.
generationsByType() - Method in record class cloud.opencode.base.captcha.support.CaptchaMetrics.MetricsSnapshot
Returns the value of the generationsByType record component.
get(String) - Method in interface cloud.opencode.base.captcha.store.CaptchaStore
Retrieves a CAPTCHA answer.
get(String) - Method in class cloud.opencode.base.captcha.store.HashedCaptchaStore
Retrieves the stored hash for a CAPTCHA.
get(String) - Method in class cloud.opencode.base.captcha.store.MemoryCaptchaStore
 
get(String) - Method in class cloud.opencode.base.captcha.store.RedisCaptchaStore
 
getAnalyzer() - Method in class cloud.opencode.base.captcha.security.AntiBotStrategy
Gets the behavior analyzer.
getAnalyzer() - Method in class cloud.opencode.base.captcha.validator.BehaviorCaptchaValidator
Gets the behavior analyzer.
getAndRemove(String) - Method in interface cloud.opencode.base.captcha.store.CaptchaStore
Retrieves and removes a CAPTCHA answer.
getAndRemove(String) - Method in class cloud.opencode.base.captcha.store.HashedCaptchaStore
Retrieves and removes the stored hash for a CAPTCHA.
getAndRemove(String) - Method in class cloud.opencode.base.captcha.store.MemoryCaptchaStore
 
getAndRemove(String) - Method in class cloud.opencode.base.captcha.store.RedisCaptchaStore
Atomically retrieves and removes the CAPTCHA answer for the given id.
getAndRemoveCommand(Function) - Method in class cloud.opencode.base.captcha.store.RedisCaptchaStore.Builder
Sets the atomic get-and-remove command for CAPTCHA validation.
getAudioSpeedVariation() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets the audio speed variation range.
getBackgroundColor() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets the background color.
getBehavior(String) - Method in class cloud.opencode.base.captcha.security.BehaviorAnalyzer
Gets the behavior for a client.
getCaptchaId() - Method in exception class cloud.opencode.base.captcha.exception.CaptchaExpiredException
Gets the expired CAPTCHA ID.
getCaptchaId() - Method in exception class cloud.opencode.base.captcha.exception.CaptchaNotFoundException
Gets the not found CAPTCHA ID.
getCaptchaId() - Method in exception class cloud.opencode.base.captcha.exception.CaptchaVerifyException
Gets the CAPTCHA ID.
getCharOverlapRatio() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets the character overlap ratio.
getCharOverlapRatio() - Method in enum class cloud.opencode.base.captcha.support.CaptchaStrength
Gets the character overlap ratio.
getChineseFont(float) - Static method in class cloud.opencode.base.captcha.support.CaptchaFontUtil
Gets a font suitable for Chinese characters.
getClientId() - Method in exception class cloud.opencode.base.captcha.exception.CaptchaRateLimitException
Gets the client ID.
getConfig() - Method in class cloud.opencode.base.captcha.OpenCaptcha
Gets the configuration.
getConfig(String) - Method in class cloud.opencode.base.captcha.support.CaptchaDifficultyAdapter
Gets the adapted configuration for a client.
getConfig(String, CaptchaConfig) - Method in class cloud.opencode.base.captcha.support.CaptchaDifficultyAdapter
Gets the adapted configuration with custom base config.
getContentType() - Method in class cloud.opencode.base.captcha.renderer.AudioCaptchaRenderer
 
getContentType() - Method in class cloud.opencode.base.captcha.renderer.Base64CaptchaRenderer
 
getContentType() - Method in interface cloud.opencode.base.captcha.renderer.CaptchaRenderer
Gets the content type of the rendered output.
getContentType() - Method in class cloud.opencode.base.captcha.renderer.GifCaptchaRenderer
 
getContentType() - Method in class cloud.opencode.base.captcha.renderer.ImageCaptchaRenderer
 
getCustomFontPaths() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets the custom font paths.
getEventListener() - Method in class cloud.opencode.base.captcha.OpenCaptcha
Gets the event listener, if configured.
getExpireTime() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets the expiration time.
getFailureCount(String) - Method in class cloud.opencode.base.captcha.support.CaptchaDifficultyAdapter
Gets the failure count for a client.
getFixedAnswer() - Method in class cloud.opencode.base.captcha.generator.TestCaptchaGenerator
Returns the fixed answer configured for this generator.
getFont(CaptchaConfig) - Static method in class cloud.opencode.base.captcha.support.CaptchaFontUtil
Gets a font based on configuration.
getFont(String, float) - Static method in class cloud.opencode.base.captcha.support.CaptchaFontUtil
Gets a font with specified name and size.
getFontColorAt(int) - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets a font color by index without array cloning (internal use).
getFontColorCount() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets the number of font colors available.
getFontColors() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets the font color palette.
getFontName() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets the font name.
getFontSize() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets the font size.
getFontSize() - Method in enum class cloud.opencode.base.captcha.support.CaptchaStrength
Gets the font size.
getGifDelay() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets the GIF frame delay.
getGifFrameCount() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets the GIF frame count.
getGlobalFailureRate() - Method in class cloud.opencode.base.captcha.support.CaptchaDifficultyAdapter
Gets the global failure rate.
getHeight() - Method in record class cloud.opencode.base.captcha.Captcha
Gets the image height from metadata.
getHeight() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets the image height.
getKeyPrefix() - Method in class cloud.opencode.base.captcha.store.RedisCaptchaStore
Gets the key prefix.
getLastActivity() - Method in class cloud.opencode.base.captcha.security.BehaviorAnalyzer.ClientBehavior
 
getLength() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets the captcha character length.
getMetadata(String) - Method in record class cloud.opencode.base.captcha.Captcha
Gets a metadata value.
getMetrics() - Method in class cloud.opencode.base.captcha.OpenCaptcha
Gets the metrics collector, if configured.
getMimeType() - Method in record class cloud.opencode.base.captcha.Captcha
Gets the MIME type based on CAPTCHA type.
getNoiseDots() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets the number of noise dots.
getNoiseDots() - Method in enum class cloud.opencode.base.captcha.support.CaptchaStrength
Gets the number of noise dots.
getNoiseLines() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets the number of noise lines.
getNoiseLines() - Method in enum class cloud.opencode.base.captcha.support.CaptchaStrength
Gets the number of noise lines.
getPowDifficulty() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets the PoW (Proof-of-Work) difficulty.
getProvidedAnswer() - Method in exception class cloud.opencode.base.captcha.exception.CaptchaVerifyException
Gets the provided answer.
getRandom() - Static method in class cloud.opencode.base.captcha.support.CaptchaChars
Gets the Random instance.
getRandomColor(CaptchaConfig) - Static method in class cloud.opencode.base.captcha.support.CaptchaFontUtil
Gets a random color from the config colors.
getRandomFontsPerChar(String, List, float, int) - Static method in class cloud.opencode.base.captcha.support.CaptchaFontUtil
Generates an array of random fonts, one per character, for anti-OCR.
getRandomStyleFont(Font) - Static method in class cloud.opencode.base.captcha.support.CaptchaFontUtil
Gets a random font style.
getRecentFailures() - Method in class cloud.opencode.base.captcha.security.BehaviorAnalyzer.ClientBehavior
 
getRemainingRequests(String) - Method in class cloud.opencode.base.captcha.validator.CaptchaRateLimiter
Gets remaining requests for a client.
getRetryAfter() - Method in exception class cloud.opencode.base.captcha.exception.CaptchaRateLimitException
Gets the retry after duration.
getRotatedFont(Font, double) - Static method in class cloud.opencode.base.captcha.support.CaptchaFontUtil
Gets a rotated font.
getStore() - Method in class cloud.opencode.base.captcha.OpenCaptcha
Gets the store.
getStrength(String) - Method in class cloud.opencode.base.captcha.support.CaptchaDifficultyAdapter
Gets the recommended strength for a client.
getter(Function) - Method in class cloud.opencode.base.captcha.store.RedisCaptchaStore.Builder
Sets the Redis getter function.
getTimeUntilReset(String) - Method in class cloud.opencode.base.captcha.validator.CaptchaRateLimiter
Gets the time until reset for a client.
getTotalAttempts() - Method in class cloud.opencode.base.captcha.security.BehaviorAnalyzer.ClientBehavior
 
getTrackedClientCount() - Method in class cloud.opencode.base.captcha.support.CaptchaDifficultyAdapter
Gets the number of tracked clients.
getTrajectoryAnalyzer() - Method in class cloud.opencode.base.captcha.validator.BehaviorCaptchaValidator
Gets the trajectory analyzer.
getType() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets the captcha type.
getType() - Method in exception class cloud.opencode.base.captcha.exception.CaptchaGenerationException
Gets the CAPTCHA type.
getType() - Method in class cloud.opencode.base.captcha.generator.ArithmeticCaptchaGenerator
 
getType() - Method in class cloud.opencode.base.captcha.generator.AudioCaptchaGenerator
 
getType() - Method in interface cloud.opencode.base.captcha.generator.CaptchaGenerator
Gets the supported CAPTCHA type.
getType() - Method in class cloud.opencode.base.captcha.generator.ChineseCaptchaGenerator
 
getType() - Method in class cloud.opencode.base.captcha.generator.GifCaptchaGenerator
 
getType() - Method in class cloud.opencode.base.captcha.generator.ImageCaptchaGenerator
 
getType() - Method in class cloud.opencode.base.captcha.generator.PowCaptchaGenerator
Gets the supported CAPTCHA type.
getType() - Method in class cloud.opencode.base.captcha.generator.SpecCaptchaGenerator
 
getType() - Method in class cloud.opencode.base.captcha.generator.TestCaptchaGenerator
Gets the supported CAPTCHA type.
getType() - Method in class cloud.opencode.base.captcha.interactive.ClickCaptchaGenerator
 
getType() - Method in class cloud.opencode.base.captcha.interactive.ImageSelectCaptchaGenerator
 
getType() - Method in class cloud.opencode.base.captcha.interactive.JigsawCaptchaGenerator
 
getType() - Method in class cloud.opencode.base.captcha.interactive.RotateCaptchaGenerator
 
getType() - Method in class cloud.opencode.base.captcha.interactive.SliderCaptchaGenerator
 
getValidators() - Method in class cloud.opencode.base.captcha.validator.CompositeValidator
Returns an unmodifiable view of the validators in this composite.
getWidth() - Method in record class cloud.opencode.base.captcha.Captcha
Gets the image width from metadata.
getWidth() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Gets the image width.
gif() - Static method in interface cloud.opencode.base.captcha.generator.CaptchaGenerator
Creates a GIF CAPTCHA generator.
gif() - Static method in class cloud.opencode.base.captcha.OpenCaptcha
Creates a GIF CAPTCHA.
gif() - Static method in interface cloud.opencode.base.captcha.renderer.CaptchaRenderer
Creates a GIF renderer.
GIF - Enum constant in enum class cloud.opencode.base.captcha.CaptchaType
GIF animated CAPTCHA GIF 动画验证码
GifCaptchaGenerator - Class in cloud.opencode.base.captcha.generator
GIF Captcha Generator - Generates animated GIF CAPTCHA GIF 验证码生成器 - 生成动画 GIF 验证码
GifCaptchaGenerator() - Constructor for class cloud.opencode.base.captcha.generator.GifCaptchaGenerator
 
GifCaptchaRenderer - Class in cloud.opencode.base.captcha.renderer
GIF Captcha Renderer - Renders CAPTCHA as GIF image GIF 验证码渲染器 - 将验证码渲染为 GIF 图像
GifCaptchaRenderer() - Constructor for class cloud.opencode.base.captcha.renderer.GifCaptchaRenderer
 
gifDelay(int) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets the GIF frame delay.
GifEncoder - Class in cloud.opencode.base.captcha.codec
GIF Encoder - Encodes images to animated GIF format GIF 编码器 - 将图像编码为动画 GIF 格式
GifEncoder() - Constructor for class cloud.opencode.base.captcha.codec.GifEncoder
 
gifFrameCount(int) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets the GIF frame count.

H

HARD - Enum constant in enum class cloud.opencode.base.captcha.support.CaptchaStrength
Hard - Heavy noise and distortion 困难 - 大量噪点和干扰
hashAnswer(String, String) - Static method in class cloud.opencode.base.captcha.security.CaptchaSecurity
Hashes an answer for secure storage.
hashAnswer(String, String, boolean) - Static method in class cloud.opencode.base.captcha.security.CaptchaSecurity
Hashes an answer for secure storage.
hashCode() - Method in record class cloud.opencode.base.captcha.Captcha
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.captcha.security.TrajectoryData
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.captcha.security.TrajectoryData.Point
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.captcha.support.CaptchaMetrics.MetricsSnapshot
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.captcha.ValidationResult
Returns a hash code value for this object.
hashed(CaptchaStore) - Static method in interface cloud.opencode.base.captcha.store.CaptchaStore
Wraps a store with answer hashing for defense in depth.
hashed(HashedCaptchaStore) - Static method in interface cloud.opencode.base.captcha.validator.CaptchaValidator
Creates a validator for hashed stores.
HashedCaptchaStore - Class in cloud.opencode.base.captcha.store
Hashed Captcha Store - Decorator that hashes answers before storage 哈希验证码存储 - 在存储前对答案进行哈希处理的装饰器
HashedCaptchaValidator - Class in cloud.opencode.base.captcha.validator
Hashed Captcha Validator - Validator for HashedCaptchaStore 哈希验证码验证器 - 用于 HashedCaptchaStore 的验证器
HashedCaptchaValidator(HashedCaptchaStore) - Constructor for class cloud.opencode.base.captcha.validator.HashedCaptchaValidator
Creates a new validator with the specified hashed store.
height(int) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets the image height.
HUMAN - Enum constant in enum class cloud.opencode.base.captcha.security.TrajectoryAnalyzer.TrajectoryResult
Human-like trajectory | 类人轨迹

I

id() - Method in record class cloud.opencode.base.captcha.Captcha
Returns the value of the id record component.
image() - Static method in interface cloud.opencode.base.captcha.renderer.CaptchaRenderer
Creates an image renderer.
IMAGE_SELECT - Enum constant in enum class cloud.opencode.base.captcha.CaptchaType
Image selection CAPTCHA (select matching images) 图片选择验证码(选择匹配的图片)
ImageCaptchaGenerator - Class in cloud.opencode.base.captcha.generator
Image Captcha Generator - Generates static image CAPTCHA 图像验证码生成器 - 生成静态图像验证码
ImageCaptchaGenerator(CaptchaType) - Constructor for class cloud.opencode.base.captcha.generator.ImageCaptchaGenerator
Creates a new generator with the specified type.
ImageCaptchaRenderer - Class in cloud.opencode.base.captcha.renderer
Image Captcha Renderer - Renders CAPTCHA as PNG image 图像验证码渲染器 - 将验证码渲染为 PNG 图像
ImageCaptchaRenderer() - Constructor for class cloud.opencode.base.captcha.renderer.ImageCaptchaRenderer
 
imageData() - Method in record class cloud.opencode.base.captcha.Captcha
Returns the value of the imageData record component.
ImageSelectCaptchaGenerator - Class in cloud.opencode.base.captcha.interactive
Image Select Captcha Generator - Generates image selection CAPTCHA 图片选择验证码生成器 - 生成图片选择验证码
ImageSelectCaptchaGenerator() - Constructor for class cloud.opencode.base.captcha.interactive.ImageSelectCaptchaGenerator
 
INSUFFICIENT_DATA - Enum constant in enum class cloud.opencode.base.captcha.security.TrajectoryAnalyzer.TrajectoryResult
Insufficient data for analysis | 数据不足
INVALID_INPUT - Enum constant in enum class cloud.opencode.base.captcha.ValidationResult.ResultCode
Invalid input | 输入无效
invalidInput() - Static method in record class cloud.opencode.base.captcha.ValidationResult
Creates a failed result for invalid input.
isAllowed(String) - Method in class cloud.opencode.base.captcha.validator.CaptchaRateLimiter
Checks if a client is allowed to make a request.
isAudio() - Method in enum class cloud.opencode.base.captcha.CaptchaType
Checks if this type is an audio CAPTCHA.
isBezierNoiseEnabled() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Returns whether Bezier curve noise is enabled.
isBezierNoiseEnabled() - Method in enum class cloud.opencode.base.captcha.support.CaptchaStrength
Returns whether Bezier curve noise is enabled.
isCaseSensitive() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Returns whether verification is case-sensitive.
isExpired() - Method in record class cloud.opencode.base.captcha.Captcha
Checks if this CAPTCHA has expired.
isFailed() - Method in record class cloud.opencode.base.captcha.ValidationResult
Checks if validation failed.
isInteractive() - Method in enum class cloud.opencode.base.captcha.CaptchaType
Checks if this type is an interactive CAPTCHA.
isInvisible() - Method in enum class cloud.opencode.base.captcha.CaptchaType
Checks if this type is invisible (no user interaction).
isOutlineShadowEnabled() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Returns whether character outline shadow is enabled.
isOutlineShadowEnabled() - Method in enum class cloud.opencode.base.captcha.support.CaptchaStrength
Returns whether character outline shadow is enabled.
isRandomFontPerChar() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Returns whether each character uses a random different font.
isRandomFontPerChar() - Method in enum class cloud.opencode.base.captcha.support.CaptchaStrength
Returns whether each character uses a random different font.
isRunning() - Method in class cloud.opencode.base.captcha.support.CaptchaPool
Returns whether the pool is running.
isSineWarpEnabled() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Returns whether sine wave warp is enabled.
isSineWarpEnabled() - Method in enum class cloud.opencode.base.captcha.support.CaptchaStrength
Returns whether sine wave warp is enabled.
isTextBased() - Method in enum class cloud.opencode.base.captcha.CaptchaType
Checks if this type is a text-based CAPTCHA.

J

jigsaw() - Static method in class cloud.opencode.base.captcha.OpenCaptcha
Creates a jigsaw CAPTCHA.
JIGSAW - Enum constant in enum class cloud.opencode.base.captcha.CaptchaType
Jigsaw CAPTCHA (puzzle piece ordering) 拼接验证码(碎片排序)
JigsawCaptchaGenerator - Class in cloud.opencode.base.captcha.interactive
Jigsaw Captcha Generator — Generates puzzle piece ordering CAPTCHA 拼接验证码生成器 — 生成碎片排序验证码
JigsawCaptchaGenerator() - Constructor for class cloud.opencode.base.captcha.interactive.JigsawCaptchaGenerator
 
jitterStdDev() - Method in record class cloud.opencode.base.captcha.security.TrajectoryData
Calculates jitter standard deviation perpendicular to the main movement direction.

K

keyPrefix(String) - Method in class cloud.opencode.base.captcha.store.RedisCaptchaStore.Builder
Sets the key prefix.

L

length(int) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets the CAPTCHA code length.
listenerCount() - Method in class cloud.opencode.base.captcha.CaptchaEventDispatcher
Returns the number of registered listeners.
loadCustomFont(String, float) - Static method in class cloud.opencode.base.captcha.support.CaptchaFontUtil
Loads a custom font from a file path (TTF or OTF).

M

Main Entry Point | 主入口点 - Section in package cloud.opencode.base.captcha
 
MEDIUM - Enum constant in enum class cloud.opencode.base.captcha.support.CaptchaStrength
Medium - Moderate noise and distortion 中等 - 适中噪点和干扰
memory() - Static method in interface cloud.opencode.base.captcha.store.CaptchaStore
Creates a memory-based store.
memory(int) - Static method in interface cloud.opencode.base.captcha.store.CaptchaStore
Creates a memory-based store with max size.
MemoryCaptchaStore - Class in cloud.opencode.base.captcha.store
Memory Captcha Store - In-memory CAPTCHA storage 内存验证码存储 - 内存中的验证码存储
MemoryCaptchaStore() - Constructor for class cloud.opencode.base.captcha.store.MemoryCaptchaStore
Creates a store with default max size.
MemoryCaptchaStore(int) - Constructor for class cloud.opencode.base.captcha.store.MemoryCaptchaStore
Creates a store with specified max size.
message() - Method in record class cloud.opencode.base.captcha.ValidationResult
Returns the value of the message record component.
metadata() - Method in record class cloud.opencode.base.captcha.Captcha
Returns the value of the metadata record component.
metrics(CaptchaMetrics) - Method in class cloud.opencode.base.captcha.OpenCaptcha.Builder
Sets the metrics collector.
MetricsSnapshot(long, long, long, long, double, Duration, Map, Duration) - Constructor for record class cloud.opencode.base.captcha.support.CaptchaMetrics.MetricsSnapshot
Compact constructor that performs defensive copy of the generationsByType map.
mismatch() - Static method in record class cloud.opencode.base.captcha.ValidationResult
Creates a failed result for mismatch.
MISMATCH - Enum constant in enum class cloud.opencode.base.captcha.ValidationResult.ResultCode
Answer mismatch | 答案不匹配

N

noiseDots(int) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets the number of noise dots.
noiseLines(int) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets the number of noise lines.
NORMAL - Enum constant in enum class cloud.opencode.base.captcha.security.BehaviorAnalyzer.AnalysisResult
Normal behavior | 正常行为
NOT_FOUND - Enum constant in enum class cloud.opencode.base.captcha.ValidationResult.ResultCode
CAPTCHA not found | 验证码未找到
notFound() - Static method in record class cloud.opencode.base.captcha.ValidationResult
Creates a failed result for not found.
numeric() - Static method in interface cloud.opencode.base.captcha.generator.CaptchaGenerator
Creates a numeric CAPTCHA generator.
numeric() - Static method in class cloud.opencode.base.captcha.OpenCaptcha
Creates a numeric CAPTCHA.
NUMERIC - Enum constant in enum class cloud.opencode.base.captcha.CaptchaType
Numeric CAPTCHA (digits only) 数字验证码(仅数字)
NUMERIC - Static variable in class cloud.opencode.base.captcha.support.CaptchaChars
Numeric characters (0-9) | 数字字符

O

of(CaptchaValidator, CaptchaValidator...) - Static method in class cloud.opencode.base.captcha.validator.CompositeValidator
Creates a CompositeValidator with the given validators.
ofList(List) - Static method in class cloud.opencode.base.captcha.validator.CompositeValidator
Creates a CompositeValidator from a list of validators.
ok() - Static method in record class cloud.opencode.base.captcha.ValidationResult
Creates a successful result.
onGenerated(Captcha) - Method in class cloud.opencode.base.captcha.CaptchaEventDispatcher
Dispatches a generation event to all registered listeners.
onGenerated(Captcha) - Method in interface cloud.opencode.base.captcha.CaptchaEventListener
Called when a CAPTCHA is generated.
onValidationFailure(String, ValidationResult.ResultCode) - Method in class cloud.opencode.base.captcha.CaptchaEventDispatcher
Dispatches a validation failure event to all registered listeners.
onValidationFailure(String, ValidationResult.ResultCode) - Method in interface cloud.opencode.base.captcha.CaptchaEventListener
Called when a CAPTCHA validation fails.
onValidationSuccess(String) - Method in class cloud.opencode.base.captcha.CaptchaEventDispatcher
Dispatches a validation success event to all registered listeners.
onValidationSuccess(String) - Method in interface cloud.opencode.base.captcha.CaptchaEventListener
Called when a CAPTCHA validation succeeds.
OpenCaptcha - Class in cloud.opencode.base.captcha
OpenCaptcha - Main entry point for CAPTCHA operations OpenCaptcha - 验证码操作的主入口点
OpenCaptcha.Builder - Class in cloud.opencode.base.captcha
OpenCaptcha Builder OpenCaptcha 构建器
outlineShadowEnabled(boolean) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets whether character outline shadow is enabled.

P

Point(int, int) - Constructor for record class cloud.opencode.base.captcha.security.TrajectoryData.Point
Creates an instance of a Point record class.
points() - Method in record class cloud.opencode.base.captcha.security.TrajectoryData
Returns the value of the points record component.
poolSize(int) - Method in class cloud.opencode.base.captcha.support.CaptchaPool.Builder
Sets the pool size (maximum number of pre-generated CAPTCHAs).
pow() - Static method in interface cloud.opencode.base.captcha.generator.CaptchaGenerator
Creates a Proof-of-Work CAPTCHA generator.
pow() - Static method in class cloud.opencode.base.captcha.OpenCaptcha
Creates a PoW CAPTCHA.
pow(CaptchaStore) - Static method in interface cloud.opencode.base.captcha.validator.CaptchaValidator
Creates a Proof-of-Work validator.
POW - Enum constant in enum class cloud.opencode.base.captcha.CaptchaType
Proof-of-Work CAPTCHA (invisible computation) 工作量证明验证码(无感计算)
PowCaptchaGenerator - Class in cloud.opencode.base.captcha.generator
Proof-of-Work Captcha Generator — Generates computational challenge for invisible verification 工作量证明验证码生成器 — 生成计算挑战用于无感验证
PowCaptchaGenerator() - Constructor for class cloud.opencode.base.captcha.generator.PowCaptchaGenerator
 
PowCaptchaValidator - Class in cloud.opencode.base.captcha.validator
Proof-of-Work Captcha Validator — Validates PoW nonce submissions 工作量证明验证码验证器 — 验证 PoW nonce 提交
PowCaptchaValidator(CaptchaStore) - Constructor for class cloud.opencode.base.captcha.validator.PowCaptchaValidator
Creates a new PoW validator with the specified store.
powDifficulty(int) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets the PoW (Proof-of-Work) difficulty.

R

randomColor() - Static method in class cloud.opencode.base.captcha.support.CaptchaFontUtil
Generates a random color.
randomDarkColor() - Static method in class cloud.opencode.base.captcha.support.CaptchaFontUtil
Generates a dark random color.
randomFontPerChar(boolean) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets whether each character uses a random different font.
randomInt(int) - Static method in class cloud.opencode.base.captcha.support.CaptchaChars
Generates a random integer within range.
randomInt(int, int) - Static method in class cloud.opencode.base.captcha.support.CaptchaChars
Generates a random integer within range.
randomLightColor() - Static method in class cloud.opencode.base.captcha.support.CaptchaFontUtil
Generates a light random color.
RATE_LIMITED - Enum constant in enum class cloud.opencode.base.captcha.ValidationResult.ResultCode
Rate limit exceeded | 超过速率限制
rateLimited() - Static method in record class cloud.opencode.base.captcha.ValidationResult
Creates a failed result for rate limiting.
recommendStrength(String) - Method in class cloud.opencode.base.captcha.security.AntiBotStrategy
Determines the recommended CAPTCHA strength for a client.
recommendType(String) - Method in class cloud.opencode.base.captcha.security.AntiBotStrategy
Determines the recommended CAPTCHA type for a client.
recordAttempt(String, boolean) - Method in class cloud.opencode.base.captcha.support.CaptchaDifficultyAdapter
Records a validation attempt.
recordCreation(String) - Method in class cloud.opencode.base.captcha.validator.TimeBasedCaptchaValidator
Records CAPTCHA creation time.
recordCreation(String, String) - Method in class cloud.opencode.base.captcha.validator.BehaviorCaptchaValidator
 
recordGeneration(CaptchaType) - Method in class cloud.opencode.base.captcha.support.CaptchaMetrics
Records a CAPTCHA generation event.
recordValidation(boolean) - Method in class cloud.opencode.base.captcha.support.CaptchaMetrics
Records a CAPTCHA validation result without response time.
recordValidation(boolean, Duration) - Method in class cloud.opencode.base.captcha.support.CaptchaMetrics
Records a CAPTCHA validation result with response time.
RedisCaptchaStore - Class in cloud.opencode.base.captcha.store
Redis Captcha Store - Redis-based CAPTCHA storage Redis验证码存储 - 基于Redis的验证码存储
RedisCaptchaStore.Builder - Class in cloud.opencode.base.captcha.store
Builder for RedisCaptchaStore.
RedisCaptchaStore.RedisSetter - Interface in cloud.opencode.base.captcha.store
Functional interface for Redis SET with TTL operation.
refillThreshold(float) - Method in class cloud.opencode.base.captcha.support.CaptchaPool.Builder
Sets the refill threshold ratio.
remove(String) - Method in interface cloud.opencode.base.captcha.store.CaptchaStore
Removes a CAPTCHA.
remove(String) - Method in class cloud.opencode.base.captcha.store.HashedCaptchaStore
 
remove(String) - Method in class cloud.opencode.base.captcha.store.MemoryCaptchaStore
 
remove(String) - Method in class cloud.opencode.base.captcha.store.RedisCaptchaStore
 
removeListener(CaptchaEventListener) - Method in class cloud.opencode.base.captcha.CaptchaEventDispatcher
Removes an event listener.
render(Captcha, OutputStream) - Method in class cloud.opencode.base.captcha.OpenCaptcha
Renders a CAPTCHA to an output stream.
render(Captcha, OutputStream) - Method in class cloud.opencode.base.captcha.renderer.AudioCaptchaRenderer
 
render(Captcha, OutputStream) - Method in class cloud.opencode.base.captcha.renderer.Base64CaptchaRenderer
 
render(Captcha, OutputStream) - Method in interface cloud.opencode.base.captcha.renderer.CaptchaRenderer
Renders the CAPTCHA to an output stream.
render(Captcha, OutputStream) - Method in class cloud.opencode.base.captcha.renderer.GifCaptchaRenderer
 
render(Captcha, OutputStream) - Method in class cloud.opencode.base.captcha.renderer.ImageCaptchaRenderer
 
renderToBase64(Captcha) - Method in class cloud.opencode.base.captcha.renderer.AudioCaptchaRenderer
 
renderToBase64(Captcha) - Method in class cloud.opencode.base.captcha.renderer.Base64CaptchaRenderer
 
renderToBase64(Captcha) - Method in interface cloud.opencode.base.captcha.renderer.CaptchaRenderer
Renders the CAPTCHA to a Base64 string.
renderToBase64(Captcha) - Method in class cloud.opencode.base.captcha.renderer.GifCaptchaRenderer
 
renderToBase64(Captcha) - Method in class cloud.opencode.base.captcha.renderer.ImageCaptchaRenderer
 
renderToBytes(Captcha) - Method in class cloud.opencode.base.captcha.renderer.AudioCaptchaRenderer
 
renderToBytes(Captcha) - Method in class cloud.opencode.base.captcha.renderer.Base64CaptchaRenderer
 
renderToBytes(Captcha) - Method in interface cloud.opencode.base.captcha.renderer.CaptchaRenderer
Renders the CAPTCHA to a byte array.
renderToBytes(Captcha) - Method in class cloud.opencode.base.captcha.renderer.GifCaptchaRenderer
 
renderToBytes(Captcha) - Method in class cloud.opencode.base.captcha.renderer.ImageCaptchaRenderer
 
reset() - Method in class cloud.opencode.base.captcha.support.CaptchaMetrics
Resets all metrics counters and restarts the uptime clock.
reset(String) - Method in class cloud.opencode.base.captcha.support.CaptchaDifficultyAdapter
Resets the difficulty for a client.
rotate() - Static method in class cloud.opencode.base.captcha.OpenCaptcha
Creates a rotate CAPTCHA.
ROTATE - Enum constant in enum class cloud.opencode.base.captcha.CaptchaType
Rotate CAPTCHA (rotate to correct angle) 旋转验证码(旋转到正确角度)
RotateCaptchaGenerator - Class in cloud.opencode.base.captcha.interactive
Rotate Captcha Generator - Generates rotation verification CAPTCHA 旋转验证码生成器 - 生成旋转验证验证码
RotateCaptchaGenerator() - Constructor for class cloud.opencode.base.captcha.interactive.RotateCaptchaGenerator
 

S

set(String, String, Duration) - Method in interface cloud.opencode.base.captcha.store.RedisCaptchaStore.RedisSetter
Sets a value with TTL.
setDelay(int) - Method in class cloud.opencode.base.captcha.codec.GifEncoder
Sets the delay time between frames.
setDispose(int) - Method in class cloud.opencode.base.captcha.codec.GifEncoder
Sets the disposal method.
setQuality(int) - Method in class cloud.opencode.base.captcha.codec.GifEncoder
Sets the color quantization quality.
setRepeat(int) - Method in class cloud.opencode.base.captcha.codec.GifEncoder
Sets the repeat count.
setter(RedisCaptchaStore.RedisSetter) - Method in class cloud.opencode.base.captcha.store.RedisCaptchaStore.Builder
Sets the Redis setter function.
shear(Graphics2D, CaptchaConfig) - Static method in class cloud.opencode.base.captcha.support.CaptchaNoiseUtil
Draws a shear transform effect.
shouldBlock(String) - Method in class cloud.opencode.base.captcha.security.AntiBotStrategy
Checks if a client should be blocked.
shutdown() - Method in class cloud.opencode.base.captcha.store.MemoryCaptchaStore
Shuts down the cleanup scheduler.
simple(CaptchaStore) - Static method in interface cloud.opencode.base.captcha.validator.CaptchaValidator
Creates a simple validator.
SimpleCaptchaValidator - Class in cloud.opencode.base.captcha.validator
Simple Captcha Validator - Basic CAPTCHA validation 简单验证码验证器 - 基础验证码验证
SimpleCaptchaValidator(CaptchaStore) - Constructor for class cloud.opencode.base.captcha.validator.SimpleCaptchaValidator
Creates a new validator with the specified store.
sineWarpEnabled(boolean) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets whether sine wave warp is enabled.
size() - Method in interface cloud.opencode.base.captcha.store.CaptchaStore
Gets the current size.
size() - Method in class cloud.opencode.base.captcha.store.HashedCaptchaStore
 
size() - Method in class cloud.opencode.base.captcha.store.MemoryCaptchaStore
 
size() - Method in class cloud.opencode.base.captcha.store.RedisCaptchaStore
 
size() - Method in class cloud.opencode.base.captcha.support.CaptchaPool
Returns the number of CAPTCHAs currently available in the pool.
size() - Method in class cloud.opencode.base.captcha.validator.CompositeValidator
Returns the number of validators in this composite.
slider() - Static method in class cloud.opencode.base.captcha.OpenCaptcha
Creates a slider CAPTCHA.
SLIDER - Enum constant in enum class cloud.opencode.base.captcha.CaptchaType
Slider CAPTCHA (drag to verify) 滑块验证码(拖动验证)
SliderCaptchaGenerator - Class in cloud.opencode.base.captcha.interactive
Slider Captcha Generator - Generates slider verification CAPTCHA 滑块验证码生成器 - 生成滑块验证验证码
SliderCaptchaGenerator() - Constructor for class cloud.opencode.base.captcha.interactive.SliderCaptchaGenerator
 
snapshot() - Method in class cloud.opencode.base.captcha.support.CaptchaMetrics
Takes an immutable point-in-time snapshot of all metrics.
SpecCaptchaGenerator - Class in cloud.opencode.base.captcha.generator
Spec Captcha Generator - Generates special effect CAPTCHA 特效验证码生成器 - 生成特效验证码
SpecCaptchaGenerator() - Constructor for class cloud.opencode.base.captcha.generator.SpecCaptchaGenerator
 
speeds() - Method in record class cloud.opencode.base.captcha.security.TrajectoryData
Calculates speed sequence between consecutive points.
start(OutputStream) - Method in class cloud.opencode.base.captcha.codec.GifEncoder
Starts GIF encoding to the output stream.
store(CaptchaStore) - Method in class cloud.opencode.base.captcha.OpenCaptcha.Builder
Sets the CAPTCHA store.
store(String, String, Duration) - Method in interface cloud.opencode.base.captcha.store.CaptchaStore
Stores a CAPTCHA answer.
store(String, String, Duration) - Method in class cloud.opencode.base.captcha.store.HashedCaptchaStore
Stores a CAPTCHA answer after hashing it with a random salt.
store(String, String, Duration) - Method in class cloud.opencode.base.captcha.store.MemoryCaptchaStore
 
store(String, String, Duration) - Method in class cloud.opencode.base.captcha.store.RedisCaptchaStore
 
success() - Method in record class cloud.opencode.base.captcha.ValidationResult
Returns the value of the success record component.
SUCCESS - Enum constant in enum class cloud.opencode.base.captcha.ValidationResult.ResultCode
Validation successful | 验证成功
successfulValidations() - Method in record class cloud.opencode.base.captcha.support.CaptchaMetrics.MetricsSnapshot
Returns the value of the successfulValidations record component.
successRate() - Method in record class cloud.opencode.base.captcha.support.CaptchaMetrics.MetricsSnapshot
Returns the value of the successRate record component.
SUSPICIOUS_BEHAVIOR - Enum constant in enum class cloud.opencode.base.captcha.ValidationResult.ResultCode
Suspicious behavior detected | 检测到可疑行为
SUSPICIOUS_TIMING - Enum constant in enum class cloud.opencode.base.captcha.security.BehaviorAnalyzer.AnalysisResult
Suspiciously fast response | 可疑的快速响应
suspiciousBehavior() - Static method in record class cloud.opencode.base.captcha.ValidationResult
Creates a failed result for suspicious behavior.

T

take() - Method in class cloud.opencode.base.captcha.support.CaptchaPool
Takes a CAPTCHA from the pool.
TestCaptchaGenerator - Class in cloud.opencode.base.captcha.generator
Test Captcha Generator - Generates CAPTCHAs with a predictable fixed answer for unit testing 测试验证码生成器 - 生成具有可预测固定答案的验证码,用于单元测试
TestCaptchaGenerator(String) - Constructor for class cloud.opencode.base.captcha.generator.TestCaptchaGenerator
Constructs a TestCaptchaGenerator with the given fixed answer.
timeBased(CaptchaStore) - Static method in interface cloud.opencode.base.captcha.validator.CaptchaValidator
Creates a time-based validator with behavior checking.
TimeBasedCaptchaValidator - Class in cloud.opencode.base.captcha.validator
Time-Based Captcha Validator - Validation with timing checks 基于时间的验证码验证器 - 带时间检查的验证
TimeBasedCaptchaValidator(CaptchaStore) - Constructor for class cloud.opencode.base.captcha.validator.TimeBasedCaptchaValidator
Creates a new validator with the specified store.
timestamps() - Method in record class cloud.opencode.base.captcha.security.TrajectoryData
Returns the value of the timestamps record component.
toBase64() - Method in record class cloud.opencode.base.captcha.Captcha
Converts the image data to Base64 string.
toBase64DataUrl() - Method in record class cloud.opencode.base.captcha.Captcha
Converts the image data to Base64 data URL.
toBuilder() - Method in class cloud.opencode.base.captcha.CaptchaConfig
Creates a builder from this configuration.
toBytes(BufferedImage) - Method in class cloud.opencode.base.captcha.generator.AbstractCaptchaGenerator
Converts image to PNG bytes.
toConfig() - Method in enum class cloud.opencode.base.captcha.support.CaptchaStrength
Creates a configuration with this strength.
TOO_MANY_FAILURES - Enum constant in enum class cloud.opencode.base.captcha.security.BehaviorAnalyzer.AnalysisResult
Too many failures | 失败次数过多
toString() - Method in record class cloud.opencode.base.captcha.Captcha
Returns a string representation that redacts the answer to prevent accidental exposure in logs.
toString() - Method in record class cloud.opencode.base.captcha.security.TrajectoryData.Point
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.captcha.security.TrajectoryData
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.captcha.support.CaptchaMetrics.MetricsSnapshot
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.captcha.ValidationResult
Returns a string representation of this record class.
totalDurationMs() - Method in record class cloud.opencode.base.captcha.security.TrajectoryData
Returns the value of the totalDurationMs record component.
totalGenerated() - Method in record class cloud.opencode.base.captcha.support.CaptchaMetrics.MetricsSnapshot
Returns the value of the totalGenerated record component.
totalValidations() - Method in record class cloud.opencode.base.captcha.support.CaptchaMetrics.MetricsSnapshot
Returns the value of the totalValidations record component.
TrajectoryAnalyzer - Class in cloud.opencode.base.captcha.security
Trajectory Analyzer — Analyzes user interaction trajectories for bot detection 轨迹分析器 — 分析用户交互轨迹以检测机器人
TrajectoryAnalyzer() - Constructor for class cloud.opencode.base.captcha.security.TrajectoryAnalyzer
 
TrajectoryAnalyzer.TrajectoryResult - Enum Class in cloud.opencode.base.captcha.security
Trajectory analysis result.
TrajectoryData - Record Class in cloud.opencode.base.captcha.security
Trajectory Data — Records user interaction coordinate and timestamp sequences 轨迹数据 — 记录用户交互的坐标和时间戳序列
TrajectoryData(List, List, long) - Constructor for record class cloud.opencode.base.captcha.security.TrajectoryData
Compact constructor with validation and defensive copies.
TrajectoryData.Point - Record Class in cloud.opencode.base.captcha.security
Trajectory point.
type() - Method in record class cloud.opencode.base.captcha.Captcha
Returns the value of the type record component.
type(CaptchaType) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets the CAPTCHA type.
type(CaptchaType) - Method in class cloud.opencode.base.captcha.OpenCaptcha.Builder
Sets the CAPTCHA type.

U

uptime() - Method in record class cloud.opencode.base.captcha.support.CaptchaMetrics.MetricsSnapshot
Returns the value of the uptime record component.
Usage Example | 使用示例 - Section in package cloud.opencode.base.captcha
 

V

validate(String, String) - Method in class cloud.opencode.base.captcha.OpenCaptcha
Validates a CAPTCHA answer.
validate(String, String) - Method in class cloud.opencode.base.captcha.validator.BehaviorCaptchaValidator
 
validate(String, String) - Method in interface cloud.opencode.base.captcha.validator.CaptchaValidator
Validates a CAPTCHA answer.
validate(String, String) - Method in class cloud.opencode.base.captcha.validator.CompositeValidator
Validates a CAPTCHA answer by chaining all validators.
validate(String, String) - Method in class cloud.opencode.base.captcha.validator.HashedCaptchaValidator
Validates a CAPTCHA answer against the stored hash.
validate(String, String) - Method in class cloud.opencode.base.captcha.validator.PowCaptchaValidator
Validates a PoW nonce submission (case sensitivity is ignored for PoW).
validate(String, String) - Method in class cloud.opencode.base.captcha.validator.SimpleCaptchaValidator
 
validate(String, String) - Method in class cloud.opencode.base.captcha.validator.TimeBasedCaptchaValidator
 
validate(String, String, boolean) - Method in class cloud.opencode.base.captcha.validator.BehaviorCaptchaValidator
 
validate(String, String, boolean) - Method in interface cloud.opencode.base.captcha.validator.CaptchaValidator
Validates a CAPTCHA answer with case sensitivity option.
validate(String, String, boolean) - Method in class cloud.opencode.base.captcha.validator.CompositeValidator
Validates a CAPTCHA answer with case sensitivity option by chaining all validators.
validate(String, String, boolean) - Method in class cloud.opencode.base.captcha.validator.HashedCaptchaValidator
Validates a CAPTCHA answer against the stored hash.
validate(String, String, boolean) - Method in class cloud.opencode.base.captcha.validator.PowCaptchaValidator
Validates a PoW nonce submission.
validate(String, String, boolean) - Method in class cloud.opencode.base.captcha.validator.SimpleCaptchaValidator
 
validate(String, String, boolean) - Method in class cloud.opencode.base.captcha.validator.TimeBasedCaptchaValidator
 
validate(String, String, String) - Method in class cloud.opencode.base.captcha.validator.BehaviorCaptchaValidator
Validates with explicit client ID.
validate(String, String, String, boolean) - Method in class cloud.opencode.base.captcha.validator.BehaviorCaptchaValidator
Validates with explicit client ID and case sensitivity.
validate(String, String, String, TrajectoryData) - Method in class cloud.opencode.base.captcha.validator.BehaviorCaptchaValidator
Validates with trajectory data for enhanced bot detection.
validate(String, String, String, TrajectoryData, boolean) - Method in class cloud.opencode.base.captcha.validator.BehaviorCaptchaValidator
Validates with trajectory data and case sensitivity option.
ValidationResult - Record Class in cloud.opencode.base.captcha
Validation Result - Result of CAPTCHA validation 验证结果 - 验证码验证结果
ValidationResult(boolean, String, ValidationResult.ResultCode) - Constructor for record class cloud.opencode.base.captcha.ValidationResult
Creates an instance of a ValidationResult record class.
ValidationResult.ResultCode - Enum Class in cloud.opencode.base.captcha
Result codes for validation.
validator(CaptchaValidator) - Method in class cloud.opencode.base.captcha.OpenCaptcha.Builder
Sets a custom validator.
valueOf(String) - Static method in enum class cloud.opencode.base.captcha.CaptchaType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.captcha.security.BehaviorAnalyzer.AnalysisResult
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.captcha.security.TrajectoryAnalyzer.TrajectoryResult
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.captcha.support.CaptchaStrength
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.captcha.ValidationResult.ResultCode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class cloud.opencode.base.captcha.CaptchaType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.captcha.security.BehaviorAnalyzer.AnalysisResult
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.captcha.security.TrajectoryAnalyzer.TrajectoryResult
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.captcha.support.CaptchaStrength
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.captcha.ValidationResult.ResultCode
Returns an array containing the constants of this enum class, in the order they are declared.
verifyAndRemove(String, String) - Method in class cloud.opencode.base.captcha.store.HashedCaptchaStore
Verifies a plaintext answer against the stored hash and removes the entry atomically.
verifyAndRemoveResult(String, String) - Method in class cloud.opencode.base.captcha.store.HashedCaptchaStore
Verifies a plaintext answer and removes the entry, returning a detailed result.
verifyAnswer(String, String) - Method in class cloud.opencode.base.captcha.store.HashedCaptchaStore
Verifies a plaintext answer against the stored hash without removing the entry.
verifyHashedAnswer(String, String, String) - Static method in class cloud.opencode.base.captcha.security.CaptchaSecurity
Verifies a hashed answer.
verifyHashedAnswer(String, String, String, boolean) - Static method in class cloud.opencode.base.captcha.security.CaptchaSecurity
Verifies a hashed answer with case sensitivity control.

W

width(int) - Method in class cloud.opencode.base.captcha.CaptchaConfig.Builder
Sets the image width.
withBaseStrength(CaptchaStrength) - Method in class cloud.opencode.base.captcha.security.AntiBotStrategy
Sets the base strength.
withBaseType(CaptchaType) - Method in class cloud.opencode.base.captcha.security.AntiBotStrategy
Sets the base type.
wrap(CaptchaStore) - Static method in class cloud.opencode.base.captcha.store.HashedCaptchaStore
Wraps a CaptchaStore with hashing (case-insensitive).
wrap(CaptchaStore, boolean) - Static method in class cloud.opencode.base.captcha.store.HashedCaptchaStore
Wraps a CaptchaStore with hashing and configurable case sensitivity.

X

x() - Method in record class cloud.opencode.base.captcha.security.TrajectoryData.Point
Returns the value of the x record component.

Y

y() - Method in record class cloud.opencode.base.captcha.security.TrajectoryData.Point
Returns the value of the y record component.
A B C D E F G H I J K L M N O P R S T U V W X Y 
All Classes and Interfaces|All Packages|Serialized Form