Class UploadContentServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, ICCServerConstants

public class UploadContentServlet extends CCServletBaseWithContextMgmt
See Also:
  • Constructor Details

    • UploadContentServlet

      public UploadContentServlet()
  • Method Details

    • checkIfToAbortOnMissingHttpSession

      protected boolean checkIfToAbortOnMissingHttpSession(javax.servlet.http.HttpServletRequest req)
      Specified by:
      checkIfToAbortOnMissingHttpSession in class CCServletBaseWithContextMgmt
    • processRequest

      protected void processRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
      Specified by:
      processRequest in class CCServletBaseWithContextMgmt
      Throws:
      javax.servlet.ServletException
      IOException
    • processUploadStreamContentFromTempFile

      protected void processUploadStreamContentFromTempFile(IUploadStreamContent upload, String tempFileName) throws Exception
      Throws:
      Exception
    • processUploadContentFromTempFile

      protected void processUploadContentFromTempFile(IUploadContent upload, String tempFileName)
    • tempStoreSlice

      protected String tempStoreSlice(String sessionId, String contentId, String s)
      Returns:
      If the data is completely uploaded (last slice): name of file name which contains the uploaded data. - If the data is not completely uploaded (interim slice) then null is returned.
    • processUploadContentByteStream

      protected void processUploadContentByteStream(javax.servlet.http.HttpServletRequest req, IUploadContent uploadContent) throws Exception
      Throws:
      Exception
    • processUI5Upload

      protected void processUI5Upload(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, IUploadContent uploadContent) throws Exception
      Throws:
      Exception
    • clear

      public static void clear(javax.servlet.http.HttpSession session)
      Clear complete content of temp files.
      Parameters:
      session -