Package com.logicaldoc.web
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConvertPdf()
Constructor of the object.
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
doGet
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 serverresponse
- the response send by the server to the client
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-