Class UploadFileServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.pentaho.platform.web.servlet.UploadFileServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class UploadFileServlet extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
     
    protected boolean
    hasManageDataAccessPermission(org.pentaho.platform.api.engine.IPentahoSession session)
    Returns true if the current user has Manage Data Source Security.

    Methods inherited from class javax.servlet.http.HttpServlet

    doDelete, doGet, 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

    Methods inherited from interface javax.servlet.Servlet

    destroy, getServletConfig, getServletInfo, init, service
  • Constructor Details

    • UploadFileServlet

      public UploadFileServlet()
  • Method Details

    • doPost

      protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      Overrides:
      doPost in class javax.servlet.http.HttpServlet
      Throws:
      javax.servlet.ServletException
      IOException
    • hasManageDataAccessPermission

      protected boolean hasManageDataAccessPermission(org.pentaho.platform.api.engine.IPentahoSession session)
      Returns true if the current user has Manage Data Source Security. Otherwise returns false.
      Parameters:
      session -
      Returns: