com.liferay.portal.kernel.captcha
Class CaptchaWrapper
java.lang.Object
com.liferay.portal.kernel.captcha.CaptchaWrapper
- All Implemented Interfaces:
- Captcha
- Direct Known Subclasses:
- CaptchaImpl
public class CaptchaWrapper
- extends Object
- implements Captcha
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CaptchaWrapper
public CaptchaWrapper(Captcha captcha)
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)