Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.captcha
Interface Captcha


public interface Captcha


Method Summary
 void check(javax.servlet.http.HttpServletRequest request)
           
 void check(PortletRequest portletRequest)
           
 String getTaglibPath()
           
 boolean isEnabled(javax.servlet.http.HttpServletRequest request)
           
 boolean isEnabled(PortletRequest portletRequest)
           
 void serveImage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void serveImage(PortletRequest portletRequest, PortletResponse portletResponse)
           
 

Method Detail

check

void check(javax.servlet.http.HttpServletRequest request)
           throws CaptchaException
Throws:
CaptchaException

check

void check(PortletRequest portletRequest)
           throws CaptchaException
Throws:
CaptchaException

getTaglibPath

String getTaglibPath()

isEnabled

boolean isEnabled(javax.servlet.http.HttpServletRequest request)
                  throws CaptchaException
Throws:
CaptchaException

isEnabled

boolean isEnabled(PortletRequest portletRequest)
                  throws CaptchaException
Throws:
CaptchaException

serveImage

void serveImage(javax.servlet.http.HttpServletRequest request,
                javax.servlet.http.HttpServletResponse response)
                throws IOException
Throws:
IOException

serveImage

void serveImage(PortletRequest portletRequest,
                PortletResponse portletResponse)
                throws IOException
Throws:
IOException

Liferay 6.1.2-ce-ga3