public class CaptchaImpl extends Object implements com.liferay.portal.kernel.captcha.Captcha
| Constructor and Description |
|---|
CaptchaImpl() |
| Modifier and Type | Method and Description |
|---|---|
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(com.liferay.portal.kernel.captcha.Captcha captcha) |
public void check(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.kernel.captcha.CaptchaException
check in interface com.liferay.portal.kernel.captcha.Captchacom.liferay.portal.kernel.captcha.CaptchaExceptionpublic void check(PortletRequest portletRequest) throws com.liferay.portal.kernel.captcha.CaptchaException
check in interface com.liferay.portal.kernel.captcha.Captchacom.liferay.portal.kernel.captcha.CaptchaExceptionpublic String getTaglibPath()
getTaglibPath in interface com.liferay.portal.kernel.captcha.Captchapublic boolean isEnabled(javax.servlet.http.HttpServletRequest request)
isEnabled in interface com.liferay.portal.kernel.captcha.Captchapublic boolean isEnabled(PortletRequest portletRequest)
isEnabled in interface com.liferay.portal.kernel.captcha.Captchapublic void serveImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
serveImage in interface com.liferay.portal.kernel.captcha.CaptchaIOExceptionpublic void serveImage(ResourceRequest resourceRequest, ResourceResponse resourceResponse) throws IOException
serveImage in interface com.liferay.portal.kernel.captcha.CaptchaIOExceptionpublic void setCaptcha(com.liferay.portal.kernel.captcha.Captcha captcha)