public class CaptchaUtil
extends java.lang.Object
| Constructor and Description |
|---|
CaptchaUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
check(javax.servlet.http.HttpServletRequest httpServletRequest) |
static void |
check(javax.portlet.PortletRequest portletRequest) |
static com.liferay.portal.kernel.captcha.Captcha |
getCaptcha() |
static java.lang.String |
getTaglibPath() |
static boolean |
isEnabled(javax.servlet.http.HttpServletRequest httpServletRequest) |
static boolean |
isEnabled(javax.portlet.PortletRequest portletRequest) |
static void |
serveImage(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
public static void check(javax.servlet.http.HttpServletRequest httpServletRequest)
throws com.liferay.portal.kernel.captcha.CaptchaException
com.liferay.portal.kernel.captcha.CaptchaExceptionpublic static void check(javax.portlet.PortletRequest portletRequest)
throws com.liferay.portal.kernel.captcha.CaptchaException
com.liferay.portal.kernel.captcha.CaptchaExceptionpublic static com.liferay.portal.kernel.captcha.Captcha getCaptcha()
public static java.lang.String getTaglibPath()
public static boolean isEnabled(javax.servlet.http.HttpServletRequest httpServletRequest)
public static boolean isEnabled(javax.portlet.PortletRequest portletRequest)
public static void serveImage(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws java.io.IOException
java.io.IOException