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