BotDetect Java CAPTCHA Core API Reference

While the BotDetect Web API members are used for Captcha functionality within a Java web form context (dealing with markup generation and related tasks), the core BotDetect API contains members related to general Captcha functionality, independent of the context it's used for.

botdetect.support.CaptchaRandomization

A helper class used for easy randomization of Captcha parameters.

CaptchaRandomization Class Reference
BotDetect Java CAPTCHA Library Reference: Captcha class public static method int getRandomCodeLength() a random Captcha code length, using default code length bounds
BotDetect Java CAPTCHA Library Reference: Captcha class public static method int getRandomCodeLength(int max) a random Captcha code length, using the default minimal value and the specified maximal value
BotDetect Java CAPTCHA Library Reference: Captcha class public static method int getRandomCodeLength(int min, int max) a random Captcha code length, using the specified minimal and maximal values
BotDetect Java CAPTCHA Library Reference: Captcha class public static method CodeStyle getRandomCodeStyle( CodeStyle... usedValues) a random Captcha code style. Selects from all available styles if no parameter is specified, or from the given value set if specified
BotDetect Java CAPTCHA Library Reference: Captcha class public static method ImageStyle getRandomImageStyle(List<ImageStyle> usedValues) a random Captcha image style. Selects from all available styles if no parameter is specified, or from the given value set if specified

Please Note

BotDetect Java Captcha Library v4.0.Beta3.7 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.