Liferay 6.0.4

com.liferay.portal.kernel.captcha
Class CaptchaWrapper

java.lang.Object
  extended by com.liferay.portal.kernel.captcha.CaptchaWrapper
All Implemented Interfaces:
Captcha
Direct Known Subclasses:
CaptchaImpl

public class CaptchaWrapper
extends Object
implements Captcha


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

Constructor Detail

CaptchaWrapper

public CaptchaWrapper(Captcha captcha)
Method Detail

check

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

check

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

getTaglibPath

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

isEnabled

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

isEnabled

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

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(PortletRequest portletRequest,
                       PortletResponse portletResponse)
                throws IOException
Specified by:
serveImage in interface Captcha
Throws:
IOException

setCaptcha

public void setCaptcha(Captcha captcha)

Liferay 6.0.4