com.octo.captcha.module.servlet.image
Class SimpleImageCaptchaServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.octo.captcha.module.servlet.image.SimpleImageCaptchaServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class SimpleImageCaptchaServlet
- extends javax.servlet.http.HttpServlet
- implements javax.servlet.Servlet
- Author:
- mag
- See Also:
- Serialized Form
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
|
static boolean |
validateResponse(javax.servlet.http.HttpServletRequest request,
java.lang.String userCaptchaResponse)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.Servlet |
destroy, getServletConfig, getServletInfo, init, service |
service
public static ImageCaptchaService service
SimpleImageCaptchaServlet
public SimpleImageCaptchaServlet()
doGet
protected void doGet(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
validateResponse
public static boolean validateResponse(javax.servlet.http.HttpServletRequest request,
java.lang.String userCaptchaResponse)
Copyright © 2003-2012 JCaptcha corp.. All Rights Reserved.