Liferay 6.2-ce-ga5

com.liferay.portal.captcha
Class CaptchaImpl

java.lang.Object
  extended by com.liferay.portal.captcha.CaptchaImpl
All Implemented Interfaces:
Captcha

public class CaptchaImpl
extends Object
implements Captcha


Constructor Summary
CaptchaImpl()
           
 
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)
           
 void setCaptcha(Captcha captcha)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaptchaImpl

public CaptchaImpl()
Method Detail

check

public void check(javax.servlet.http.HttpServletRequest request)
           throws CaptchaException
Specified by:
check in interface Captcha
Throws:
CaptchaException

check

public void check(PortletRequest portletRequest)
           throws CaptchaException
Specified by:
check in interface Captcha
Throws:
CaptchaException

getTaglibPath

public String getTaglibPath()
Specified by:
getTaglibPath in interface Captcha

isEnabled

public boolean isEnabled(javax.servlet.http.HttpServletRequest request)
                  throws CaptchaException
Specified by:
isEnabled in interface Captcha
Throws:
CaptchaException

isEnabled

public boolean isEnabled(PortletRequest portletRequest)
                  throws CaptchaException
Specified by:
isEnabled in interface Captcha
Throws:
CaptchaException

serveImage

public void serveImage(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws IOException
Specified by:
serveImage in interface Captcha
Throws:
IOException

serveImage

public void serveImage(ResourceRequest resourceRequest,
                       ResourceResponse resourceResponse)
                throws IOException
Specified by:
serveImage in interface Captcha
Throws:
IOException

setCaptcha

public void setCaptcha(Captcha captcha)

Liferay 6.2-ce-ga5