Class ConvertPdf

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

public class ConvertPdf extends javax.servlet.http.HttpServlet
This servlet simply download the document if it is a PDF.
Since:
7.4.2
Author:
Marco Meschieri - LogicalDOC
See Also:
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    Constructor of the object.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    void
    doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    The doGet method of the servlet.
    void
    doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
     

    Methods inherited from class javax.servlet.http.HttpServlet Link icon

    service

    Methods inherited from class javax.servlet.GenericServlet Link icon

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

    Methods inherited from class java.lang.Object Link icon

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

    • ConvertPdf Link icon

      public ConvertPdf()
      Constructor of the object.
  • Method Details Link icon

    • doGet Link icon

      public void doGet(javax.servlet.http.HttpServletRequest request, javax.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
    • doPost Link icon

      public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)