Interface ICaptchaEngine


  • public interface ICaptchaEngine
    Interface for captcha engine implementations
    • 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