Class ViewAction

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.pentaho.platform.web.servlet.ServletBase
org.pentaho.platform.web.servlet.ViewAction
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, org.pentaho.platform.api.engine.ILogger

public class ViewAction extends ServletBase
Servlet Class web.servlet name="ViewAction" display-name="Name for ViewAction" description="Description for ViewAction" web.servlet-mapping url-pattern="/ViewAction" web.servlet-init-param name="A parameter" value="A value"
See Also:
  • Field Summary

    Fields inherited from class org.pentaho.platform.web.servlet.ServletBase

    debug

    Fields inherited from interface org.pentaho.platform.api.engine.ILogger

    ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    createOutputHandler(javax.servlet.http.HttpServletResponse response, OutputStream outputStream)
     
    protected boolean
    doBackgroundExecution(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.pentaho.platform.api.engine.IPentahoSession userSession)
     
    protected void
    doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
     
    protected boolean
    doMessages(javax.servlet.http.HttpServletRequest request)
     
    protected void
    doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
     
    protected boolean
    doSubscribe(org.pentaho.platform.api.engine.IParameterProvider requestParameters)
     
    org.apache.commons.logging.Log
     
    protected OutputStream
    getOutputStream(javax.servlet.http.HttpServletResponse response, boolean doMessages)
     
    getRequestHandler(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.pentaho.platform.api.engine.IPentahoSession userSession, org.pentaho.platform.api.engine.IParameterProvider requestParameters, OutputStream outputStream, HttpOutputHandler outputHandler, org.pentaho.platform.util.web.SimpleUrlFactory urlFactory)
     
    protected void
    handleActionRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.pentaho.platform.api.engine.IOutputHandler outputHandler, HttpServletRequestHandler requestHandler, OutputStream outputStream, org.pentaho.platform.api.repository.IContentItem contentItem)
     
    protected boolean
    hasResponse(org.pentaho.platform.api.engine.IRuntimeContext runtime)
     
    protected void
    setupOutputHandler(HttpOutputHandler outputHandler, org.pentaho.platform.api.engine.IParameterProvider requestParameters)
     
    protected void
    setupRequestHandler(javax.servlet.http.HttpServletRequest request, HttpServletRequestHandler requestHandler)
     
    protected void
    setupRequestHandler(javax.servlet.http.HttpServletRequest request, HttpServletRequestHandler requestHandler, org.pentaho.platform.api.engine.IParameterProvider requestParameters, org.pentaho.platform.api.engine.IPentahoSession userSession)
     

    Methods inherited from class org.pentaho.platform.web.servlet.ServletBase

    debug, debug, error, error, fatal, fatal, getLoggingLevel, getObjectName, getPentahoSession, info, info, setCorsHeaders, setLoggingLevel, trace, trace, warn, warn

    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
  • Constructor Details

    • ViewAction

      public ViewAction()
  • Method Details

    • getLogger

      public org.apache.commons.logging.Log getLogger()
      Specified by:
      getLogger in class ServletBase
    • doBackgroundExecution

      protected boolean doBackgroundExecution(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.pentaho.platform.api.engine.IPentahoSession userSession) throws javax.servlet.ServletException, IOException
      Throws:
      javax.servlet.ServletException
      IOException
    • getOutputStream

      protected OutputStream getOutputStream(javax.servlet.http.HttpServletResponse response, boolean doMessages) throws javax.servlet.ServletException, IOException
      Throws:
      javax.servlet.ServletException
      IOException
    • doMessages

      protected boolean doMessages(javax.servlet.http.HttpServletRequest request)
    • hasResponse

      protected boolean hasResponse(org.pentaho.platform.api.engine.IRuntimeContext runtime)
    • handleActionRequest

      protected void handleActionRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.pentaho.platform.api.engine.IOutputHandler outputHandler, HttpServletRequestHandler requestHandler, OutputStream outputStream, org.pentaho.platform.api.repository.IContentItem contentItem) throws javax.servlet.ServletException, IOException
      Throws:
      javax.servlet.ServletException
      IOException
    • setupRequestHandler

      protected void setupRequestHandler(javax.servlet.http.HttpServletRequest request, HttpServletRequestHandler requestHandler)
    • setupOutputHandler

      protected void setupOutputHandler(HttpOutputHandler outputHandler, org.pentaho.platform.api.engine.IParameterProvider requestParameters)
    • getRequestHandler

      protected HttpServletRequestHandler getRequestHandler(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.pentaho.platform.api.engine.IPentahoSession userSession, org.pentaho.platform.api.engine.IParameterProvider requestParameters, OutputStream outputStream, HttpOutputHandler outputHandler, org.pentaho.platform.util.web.SimpleUrlFactory urlFactory) throws javax.servlet.ServletException, IOException
      Throws:
      javax.servlet.ServletException
      IOException
    • createOutputHandler

      protected HttpOutputHandler createOutputHandler(javax.servlet.http.HttpServletResponse response, OutputStream outputStream)
    • doGet

      protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      Overrides:
      doGet in class javax.servlet.http.HttpServlet
      Throws:
      javax.servlet.ServletException
      IOException
    • 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
    • doSubscribe

      protected boolean doSubscribe(org.pentaho.platform.api.engine.IParameterProvider requestParameters)
    • setupRequestHandler

      protected void setupRequestHandler(javax.servlet.http.HttpServletRequest request, HttpServletRequestHandler requestHandler, org.pentaho.platform.api.engine.IParameterProvider requestParameters, org.pentaho.platform.api.engine.IPentahoSession userSession)