Uses of Enum Class
cloud.opencode.base.captcha.CaptchaType
Packages that use CaptchaType
Package
Description
OpenCode Base Captcha - Zero-dependency CAPTCHA generation library
OpenCode Base 验证码 - 零依赖验证码生成库
CAPTCHA Exception Classes
验证码异常类
CAPTCHA Generators
验证码生成器
Interactive CAPTCHA Generators
交互式验证码生成器
CAPTCHA Security
验证码安全
CAPTCHA Support Utilities
验证码支持工具
-
Uses of CaptchaType in cloud.opencode.base.captcha
Subclasses with type arguments of type CaptchaType in cloud.opencode.base.captchaModifier and TypeClassDescriptionenumCaptcha Type - Enumeration of supported CAPTCHA types 验证码类型 - 支持的验证码类型枚举Methods in cloud.opencode.base.captcha that return CaptchaTypeModifier and TypeMethodDescriptionCaptchaConfig.getType()Gets the captcha type.Captcha.type()Returns the value of thetyperecord component.static CaptchaTypeReturns the enum constant of this class with the specified name.static CaptchaType[]CaptchaType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in cloud.opencode.base.captcha with parameters of type CaptchaTypeModifier and TypeMethodDescriptionstatic CaptchaOpenCaptcha.create(CaptchaType type) Creates a CAPTCHA of the specified type.CaptchaConfig.Builder.type(CaptchaType type) Sets the CAPTCHA type.OpenCaptcha.Builder.type(CaptchaType type) Sets the CAPTCHA type.Constructors in cloud.opencode.base.captcha with parameters of type CaptchaType -
Uses of CaptchaType in cloud.opencode.base.captcha.exception
Methods in cloud.opencode.base.captcha.exception that return CaptchaTypeConstructors in cloud.opencode.base.captcha.exception with parameters of type CaptchaTypeModifierConstructorDescriptionCaptchaGenerationException(String message, CaptchaType type) Constructs a new exception with message and CAPTCHA type.CaptchaGenerationException(String message, CaptchaType type, Throwable cause) Constructs a new exception with message, type and cause. -
Uses of CaptchaType in cloud.opencode.base.captcha.generator
Methods in cloud.opencode.base.captcha.generator that return CaptchaTypeModifier and TypeMethodDescriptionArithmeticCaptchaGenerator.getType()AudioCaptchaGenerator.getType()CaptchaGenerator.getType()Gets the supported CAPTCHA type.ChineseCaptchaGenerator.getType()GifCaptchaGenerator.getType()ImageCaptchaGenerator.getType()PowCaptchaGenerator.getType()Gets the supported CAPTCHA type.SpecCaptchaGenerator.getType()TestCaptchaGenerator.getType()Gets the supported CAPTCHA type.Methods in cloud.opencode.base.captcha.generator with parameters of type CaptchaTypeModifier and TypeMethodDescriptionprotected CaptchaAbstractCaptchaGenerator.buildCaptcha(CaptchaType type, byte[] imageData, String answer, CaptchaConfig config) Builds a CAPTCHA from generated data.static CaptchaGeneratorCaptchaGenerator.forType(CaptchaType type) Creates a generator for the specified type.Constructors in cloud.opencode.base.captcha.generator with parameters of type CaptchaTypeModifierConstructorDescriptionCreates a new generator with the specified type. -
Uses of CaptchaType in cloud.opencode.base.captcha.interactive
Methods in cloud.opencode.base.captcha.interactive that return CaptchaType -
Uses of CaptchaType in cloud.opencode.base.captcha.security
Methods in cloud.opencode.base.captcha.security that return CaptchaTypeModifier and TypeMethodDescriptionAntiBotStrategy.recommendType(String clientId) Determines the recommended CAPTCHA type for a client.Methods in cloud.opencode.base.captcha.security with parameters of type CaptchaTypeModifier and TypeMethodDescriptionAntiBotStrategy.withBaseType(CaptchaType type) Sets the base type. -
Uses of CaptchaType in cloud.opencode.base.captcha.support
Methods in cloud.opencode.base.captcha.support that return types with arguments of type CaptchaTypeModifier and TypeMethodDescriptionCaptchaMetrics.MetricsSnapshot.generationsByType()Returns the value of thegenerationsByTyperecord component.Methods in cloud.opencode.base.captcha.support with parameters of type CaptchaTypeModifier and TypeMethodDescriptionstatic StringCaptchaChars.generate(CaptchaType type, int length) Generates random characters for the specified type.voidCaptchaMetrics.recordGeneration(CaptchaType type) Records a CAPTCHA generation event.Constructor parameters in cloud.opencode.base.captcha.support with type arguments of type CaptchaTypeModifierConstructorDescriptionMetricsSnapshot(long totalGenerated, long totalValidations, long successfulValidations, long failedValidations, double successRate, Duration averageResponseTime, Map<CaptchaType, Long> generationsByType, Duration uptime) Compact constructor that performs defensive copy of the generationsByType map.