BotDetect Java CAPTCHA Enumerations API Reference

A number of enumerations is used to represent basic Captcha options available in BotDetect Java CAPTCHA.

com.captcha.botdetect.CodeStyle

Enumerates all BotDetect Captcha code styles.

com.captcha.botdetect.CodeStyle Enumeration members
BotDetect Java CAPTCHA Library Reference: Captcha CodeStyle enumeration member ALPHANUMERIC Randomly generated Captcha codes will use both alphabet and numeric characters defined for the current character set
BotDetect Java CAPTCHA Library Reference: Captcha CodeStyle enumeration member ALPHA Randomly generated Captcha codes will use only alphabet characters defined for the current character set
BotDetect Java CAPTCHA Library Reference: Captcha CodeStyle enumeration member NUMERIC Randomly generated Captcha codes will use only numeric characters defined for the current character set

com.captcha.botdetect.ImageStyle

Enumerates all BotDetect Captcha image styles.

com.captcha.botdetect.ImageStyle Enumeration members
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member ANCIENT_MOSAIC
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member BLACK_OVERLAP
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member BUBBLES
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member BULLETS
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member BULLETS2
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member CAUGHT_IN_THE_NET
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member CAUGHT_IN_THE_NET2
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member CHALKBOARD
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member CHESS
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member CHESS3D
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member CHIPPED
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member CIRCLES
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member COLLAGE
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member CORROSION
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member CROSS_SHADOW
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member CROSS_SHADOW2
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member CUT
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member DARTS
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member DISTORTION
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member ELECTRIC
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member FINGERPRINTS
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member FLASH
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member GHOSTLY
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member GRAFFITI
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member GRAFFITI2
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member HALO
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member IN_BANDAGES
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member JAIL
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member LEGO
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member MASS
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member MELTING_HEAT
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member MELTING_HEAT2
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member NEGATIVE
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member NEON
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member NEON2
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member OVERLAP
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member OVERLAP2
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member PAINT_MESS
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member RADAR
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member RIPPLE
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member RIPPLE2
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member ROUGH
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member SNOW
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member SPIDER_WEB
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member SPIDER_WEB2
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member SPLIT
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member SPLIT2
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member STITCH
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member STRIPPY
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member SUN_AND_WARM_AIR
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member SUNRAYS
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member SUNRAYS2
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member THICK_THIN_LINES
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member THICK_THIN_LINES2
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member THIN_WAVY_LETTERS
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member VERTIGO
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member WANTED_CIRCULAR
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member WAVE
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member WAVY_CHESS
BotDetect Java CAPTCHA Library Reference: Captcha ImageStyle enumeration member WAVY_COLOR_LETTERS

com.captcha.botdetect.SoundStyle

Enumerates all BotDetect Captcha sound styles.

com.captcha.botdetect.SoundStyle Enumeration Members
com.captcha.botdetect.SoundStyle enumeration member DISPATCH DISPATCH
 
com.captcha.botdetect.SoundStyle enumeration member HIVE_MIND HIVE_MIND
 
com.captcha.botdetect.SoundStyle enumeration member INDUSTRIAL INDUSTRIAL
 
com.captcha.botdetect.SoundStyle enumeration member PULSE PULSE
 
com.captcha.botdetect.SoundStyle enumeration member RADIO RADIO
 
com.captcha.botdetect.SoundStyle enumeration member RED_ALERT RED_ALERT
 
com.captcha.botdetect.SoundStyle enumeration member ROBOT ROBOT
 
com.captcha.botdetect.SoundStyle enumeration member SCRATCHED SCRATCHED
 
com.captcha.botdetect.SoundStyle enumeration member SYNTH SYNTH
 
com.captcha.botdetect.SoundStyle enumeration member WORKSHOP WORKSHOP
 
com.captcha.botdetect.SoundStyle enumeration member COLLAPSE COLLAPSE
 
com.captcha.botdetect.SoundStyle enumeration member SEEKER SEEKER
 

com.captcha.botdetect.ImageFormat

Enumerates all BotDetect Captcha image formats.

com.captcha.botdetect.ImageFormat Enumeration members
BotDetect Java CAPTCHA Library Reference: Captcha ImageFormat enumeration member BMP Captcha images will be converted to the BMP format. Not most suitable for web purposes because of large resulting image size.
BotDetect Java CAPTCHA Library Reference: Captcha ImageFormat enumeration member JPEG Captcha images will be converted to the JPEG image format. Results in good image quality and reasonable image sizes; used by default
BotDetect Java CAPTCHA Library Reference: Captcha ImageFormat enumeration member GIF Captcha images will be converted to the GIF image format. Only suitable for some image styles, resulting in lower image quality with the more color dynamic image styles
BotDetect Java CAPTCHA Library Reference: Captcha ImageFormat enumeration member PNG Captcha images will be converted to the PNG image format. Results in good image quality and image size, but not supported in older versions of Internet Explorer (would be used by default if this wasn't the case)

com.captcha.botdetect.SoundFormat

Enumerates all BotDetect Captcha sound output formats.

com.captcha.botdetect.SoundFormat Enumeration Members
com.captcha.botdetect.SoundFormat enumeration member WAV_PCM_16BIT_8KHZ_MONO The default format, used for underlying Captcha sound generation. Reasonable sound quality for Captcha purposes, resulting in moderate sound file sizes. Supported by most clients
com.captcha.botdetect.SoundFormat enumeration member WAV_PCM_8BIT_8KHZ_MONO Lower quality Wav format option, resulting in smaller sound file downloads while retaining good enough quality in most cases

com.captcha.botdetect.botdetect.SoundRegenerationMode

Enumerates all BotDetect Captcha sound regeneration modes.

SoundRegenerationMode Enumeration Members
SoundRegenerationMode enumeration member NONE Generate only one sound response per Captcha code, cache it on the server, and serve it for all consecutive sound requests.
SoundRegenerationMode enumeration member LIMITED Allow generation of a limited number of different sound responses (the minimum required to make Captcha audio work in all supported client browsers and devices), and automatically change the Captcha code on the client for consecutive sound requests if needed and possible.
SoundRegenerationMode enumeration member UNLIMITED Each audio request will generate a new Captcha sound response (previous BotDetect version behavior).

com.captcha.botdetect.HelpLinkMode

Enumerates all BotDetect Captcha help link modes.

com.captcha.botdetect.HelpLinkMode Enumeration members
BotDetect Java CAPTCHA Library Reference: Captcha HelpLinkMode enumeration member TEXT Captcha image will be help link
BotDetect Java CAPTCHA Library Reference: Captcha HelpLinkMode enumeration member IMAGE Help link will be displayed as text below Captcha image

com.captcha.botdetect.internal.core.captchacode.
CodeGenerationPurpose

Enumerates all BotDetect Captcha code generation purposes.

CodeGenerationPurpose Enumeration Members
CodeGenerationPurpose enumeration member IMAGE_GENERATION The Captcha code will be used for Captcha image generation
CodeGenerationPurpose enumeration member SOUND_GENERATION The Captcha code will be used for Captcha sound generation

com.captcha.botdetect.internal.core.captchacode.validation.
ValidationAttemptOrigin

Enumerates all BotDetect Captcha validation attempt origins. Different origins can result in different validation rules being applied.

ValidationAttemptOrigin Enumeration Members
ValidationAttemptOrigin enumeration member UNKNOWN The validation origin isn't set
ValidationAttemptOrigin enumeration member SERVER The validation attempt is a result of server-side code called from a full postback
ValidationAttemptOrigin enumeration member CLIENT The validation attempt is a result of server-side code called from an Ajax call

Please Note

BotDetect Java Captcha Library v4.0.Beta1 is an in-progress port of BotDetect 4 Captcha, and we need you to guide our efforts towards a polished product. Please let us know if you encounter any bugs, implementation issues, or a usage scenario you would like to discuss.