@Deprecated
public class CaptchaUtil
extends java.lang.Object
Constructor and Description |
---|
CaptchaUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
check(javax.servlet.http.HttpServletRequest request)
Deprecated.
|
static void |
check(javax.portlet.PortletRequest portletRequest)
Deprecated.
|
static Captcha |
getCaptcha()
Deprecated.
|
static java.lang.String |
getTaglibPath()
Deprecated.
|
static boolean |
isEnabled(javax.servlet.http.HttpServletRequest request)
Deprecated.
|
static boolean |
isEnabled(javax.portlet.PortletRequest portletRequest)
Deprecated.
|
static void |
serveImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
|
static void |
serveImage(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
Deprecated.
|
void |
setCaptcha(Captcha captcha)
Deprecated.
|
public static void check(javax.servlet.http.HttpServletRequest request) throws CaptchaException
CaptchaException
public static void check(javax.portlet.PortletRequest portletRequest) throws CaptchaException
CaptchaException
public static Captcha getCaptcha()
public static java.lang.String getTaglibPath()
public static boolean isEnabled(javax.servlet.http.HttpServletRequest request)
public static boolean isEnabled(javax.portlet.PortletRequest portletRequest)
public static void serveImage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
java.io.IOException
public static void serveImage(javax.portlet.ResourceRequest resourceRequest, javax.portlet.ResourceResponse resourceResponse) throws java.io.IOException
java.io.IOException
public void setCaptcha(Captcha captcha) throws java.lang.Exception
java.lang.Exception