Package com.logicaldoc.conversion
Class ConvertJpg
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.logicaldoc.conversion.ConvertJpg
- All Implemented Interfaces:
com.logicaldoc.core.security.SessionListener
,Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class ConvertJpg
extends javax.servlet.http.HttpServlet
implements com.logicaldoc.core.security.SessionListener
This servlet produces a set of JPGs from a document as a list of jpg files
inside io.tmpdir/jpgprev/sid. If the export was already performed it simply
return it.
This servlet requires the following parameters:
- docId
- version
- Since:
- 8.3.1
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
deleteJpgDir
(String sid, long docId) 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) void
onSessionClosed
(Object sid) void
onSessionCreated
(com.logicaldoc.core.security.Session session) Methods inherited from class javax.servlet.http.HttpServlet
service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
ConvertJpg
public ConvertJpg()Constructor of the object.
-
-
Method Details
-
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) -
onSessionCreated
public void onSessionCreated(com.logicaldoc.core.security.Session session) - Specified by:
onSessionCreated
in interfacecom.logicaldoc.core.security.SessionListener
-
deleteJpgDir
-
onSessionClosed
- Specified by:
onSessionClosed
in interfacecom.logicaldoc.core.security.SessionListener
-