Interface ICaptchaEngine
-
public interface ICaptchaEngineInterface for captcha engine implementations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCaptchaEngineName()Get the name of the captcha enginejava.lang.StringgetHtmlCode()Gets the captcha HTML codebooleanvalidate(javax.servlet.http.HttpServletRequest request)Validate the captcha field
-
-
-
Method Detail
-
validate
boolean validate(javax.servlet.http.HttpServletRequest request)
Validate the captcha field- Parameters:
request- The HTTP request- Returns:
- True if OK, otherwise false
-
getHtmlCode
java.lang.String getHtmlCode()
Gets the captcha HTML code- Returns:
- The captcha HTML code
-
getCaptchaEngineName
java.lang.String getCaptchaEngineName()
Get the name of the captcha engine- Returns:
- The name of the captcha engine
-
-