Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.captcha
Class CaptchaUtil

java.lang.Object
  extended by com.liferay.portal.kernel.captcha.CaptchaUtil

public class CaptchaUtil
extends Object


Constructor Summary
CaptchaUtil()
           
 
Method Summary
static void check(javax.servlet.http.HttpServletRequest request)
           
static void check(PortletRequest portletRequest)
           
static Captcha getCaptcha()
           
static String getTaglibPath()
           
static boolean isEnabled(javax.servlet.http.HttpServletRequest request)
           
static boolean isEnabled(PortletRequest portletRequest)
           
static void serveImage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
static void serveImage(PortletRequest portletRequest, PortletResponse portletResponse)
           
 void setCaptcha(Captcha captcha)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaptchaUtil

public CaptchaUtil()
Method Detail

check

public static void check(javax.servlet.http.HttpServletRequest request)
                  throws CaptchaException
Throws:
CaptchaException

check

public static void check(PortletRequest portletRequest)
                  throws CaptchaException
Throws:
CaptchaException

getCaptcha

public static Captcha getCaptcha()

getTaglibPath

public static String getTaglibPath()

isEnabled

public static boolean isEnabled(javax.servlet.http.HttpServletRequest request)
                         throws CaptchaException
Throws:
CaptchaException

isEnabled

public static boolean isEnabled(PortletRequest portletRequest)
                         throws CaptchaException
Throws:
CaptchaException

serveImage

public static void serveImage(javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse response)
                       throws IOException
Throws:
IOException

serveImage

public static void serveImage(PortletRequest portletRequest,
                              PortletResponse portletResponse)
                       throws IOException
Throws:
IOException

setCaptcha

public void setCaptcha(Captcha captcha)

Liferay 6.1.2-ce-ga3