Liferay 6.2-ce-ga5

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(ResourceRequest resourceRequest, ResourceResponse resourceResponse)
           
 

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(ResourceRequest resourceRequest,
                ResourceResponse resourceResponse)
                throws IOException
Throws:
IOException

Liferay 6.2-ce-ga5