Class TicketDownload

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.logicaldoc.web.TicketDownload
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class TicketDownload extends jakarta.servlet.http.HttpServlet
See Also:
  • Field Summary

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor of the object.
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    checkPassword(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
     
    static boolean
    checkPassword(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Ticket ticket)
     
    void
    doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
    The doGet method of the servlet.
    void
    doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
    The doPost method of the servlet.

    Methods inherited from class jakarta.servlet.http.HttpServlet

    init, service

    Methods inherited from class jakarta.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TicketDownload

      public TicketDownload()
      Constructor of the object.
  • Method Details

    • doGet

      public void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      The doGet method of the servlet.
      This method is called when a form has its tag value method equals to get.
      Parameters:
      request - the request send by the client to the server
      response - the response send by the server to the client
    • checkPassword

      public static boolean checkPassword(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException
      Throws:
      IOException
    • checkPassword

      public static boolean checkPassword(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Ticket ticket) throws IOException
      Throws:
      IOException
    • doPost

      public void doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      The doPost method of the servlet.
      This method is called when a form has its tag value method equals to post.
      Parameters:
      request - the request send by the client to the server
      response - the response send by the server to the client