Package com.logicaldoc.web
Class ThumbnailServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.logicaldoc.web.ThumbnailServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
public class ThumbnailServlet
extends jakarta.servlet.http.HttpServlet
This servlet is responsible for document thumbnail. It searches for the
attribute docId in any scope and extracts the proper document's content. You
may specify the suffix to download the thumbnail or the tile.
- Since:
- 4.5
- Author:
- Alessandro Gasparini - LogicalDOC
- See Also:
-
Field Summary
FieldsFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
doGet
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) The doGet 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
-
Field Details
-
DOC_ID
- See Also:
-
-
Constructor Details
-
ThumbnailServlet
public ThumbnailServlet()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 serverresponse
- the response send by the server to the client
-