Package com.logicaldoc.web
Class ThumbnailServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.logicaldoc.web.ThumbnailServlet
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class ThumbnailServlet extends javax.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ThumbnailServlet()
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.
-
-
-
Field Detail
-
DOC_ID
public static final String DOC_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
doGet
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
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- Throws:
javax.servlet.ServletException
- if an error occurredIOException
- if an error occurred
-
-