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