Package com.logicaldoc.web
Class DownloadServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.logicaldoc.web.DownloadServlet
- All Implemented Interfaces:
- jakarta.servlet.Servlet,- jakarta.servlet.ServletConfig,- Serializable
public class DownloadServlet
extends jakarta.servlet.http.HttpServlet
This servlet is responsible for document downloads. It searches for the
 attribute docId in any scope and extracts the proper document's content.
- Since:
- 6.0
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
- 
Field SummaryFields inherited from class jakarta.servlet.http.HttpServletLEGACY_DO_HEAD
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddoGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) The doGet method of the servlet.Methods inherited from class jakarta.servlet.http.HttpServletinit, serviceMethods inherited from class jakarta.servlet.GenericServletdestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
- 
Constructor Details- 
DownloadServletpublic DownloadServlet()
 
- 
- 
Method Details- 
doGetpublic 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
 
 
-