Package com.atlassian.jira.servlet
Class JiraCaptchaServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.atlassian.jira.servlet.JiraCaptchaServlet
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
@Path("captcha")
@Consumes("text/plain")
@Produces("text/plain")
public class JiraCaptchaServlet
extends javax.servlet.http.HttpServlet
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
doGet
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Returns a captcha image challenge for a given id.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
-
Constructor Details
-
JiraCaptchaServlet
public JiraCaptchaServlet()
-
-
Method Details
-
doGet
@GET public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Returns a captcha image challenge for a given id.The id used to generate the challenge will be the
http session
id.Later on, the same id will be used to validate the response to the captcha challenge.
- Overrides:
doGet
in classjavax.servlet.http.HttpServlet
- Parameters:
request
- The http request for this captcha image.response
- The http response where the captch image will be written to.
-