com.logicaldoc.web.document
Class DocumentResourceUpload
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.logicaldoc.web.document.DocumentResourceUpload
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class DocumentResourceUpload
- extends javax.servlet.http.HttpServlet
This servlet is responsible for document resource upload. It receives the
document resource and uploads it in LogicalDOC, inside the document's folder.
- Since:
- 4.5
- Author:
- Matteo Caruso - Logical Objects
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
DOC_ID
|
protected static org.apache.commons.logging.Log |
log
|
static java.lang.String |
SESSION
|
static java.lang.String |
SUFFIX
|
static java.lang.String |
VERSION_DOC
|
static java.lang.String |
VERSION_ID
|
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.commons.logging.Log log
DOC_ID
public static final java.lang.String DOC_ID
- See Also:
- Constant Field Values
SUFFIX
public static final java.lang.String SUFFIX
- See Also:
- Constant Field Values
VERSION_ID
public static final java.lang.String VERSION_ID
- See Also:
- Constant Field Values
VERSION_DOC
public static final java.lang.String VERSION_DOC
- See Also:
- Constant Field Values
SESSION
public static final java.lang.String SESSION
- See Also:
- Constant Field Values
DocumentResourceUpload
public DocumentResourceUpload()
- Constructor of the object.
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
Copyright © 2008-2010 Logical Objects. All Rights Reserved.