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 | ||
---|---|---|
int getRandomCodeLength() | a random Captcha code length, using default code length bounds | |
int getRandomCodeLength(int max) | a random Captcha code length, using the default minimal value and the specified maximal value | |
int getRandomCodeLength(int min, int max) | a random Captcha code length, using the specified minimal and maximal values | |
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 | |
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.
Current BotDetect Versions
-
BotDetect ASP.NET CAPTCHA
2019-07-22v4.4.2 -
BotDetect Java CAPTCHA
2019-07-22v4.0.Beta3.7 -
BotDetect PHP CAPTCHA
2019-07-22v4.2.5