Interface ICaptchaEngine


public interface ICaptchaEngine
Interface for captcha engine implementations
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the name of the captcha engine
    Gets the captcha HTML code
    boolean
    validate(jakarta.servlet.http.HttpServletRequest request)
    Validate the captcha field
  • Method Details

    • validate

      boolean validate(jakarta.servlet.http.HttpServletRequest request)
      Validate the captcha field
      Parameters:
      request - The HTTP request
      Returns:
      True if OK, otherwise false
    • getHtmlCode

      String getHtmlCode()
      Gets the captcha HTML code
      Returns:
      The captcha HTML code
    • getCaptchaEngineName

      String getCaptchaEngineName()
      Get the name of the captcha engine
      Returns:
      The name of the captcha engine