Class TaskProcessorServlet

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
    Direct Known Subclasses:
    TaskAdminServlet, TaskViewerServlet

    public class TaskProcessorServlet
    extends javax.servlet.http.HttpServlet
    This is the main servlet for the Task Processor component.
    Since:
    MicroStrategy Web 8.1.0
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String INIT_PARAM_TASK_CONTROLLER_CLASS
      This is the name of the init parameter that refers to the AppController class to instantiate.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()
      Destroy any data associated with the servlet.
      protected void doGet​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Handle an incoming HTTP GET request.
      protected void doPost​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Handles an HTTP POST request.
      void init​(javax.servlet.ServletConfig config)
      Initialize this servlet.
      • Methods inherited from class javax.servlet.http.HttpServlet

        doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
      • Methods inherited from class javax.servlet.GenericServlet

        getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • INIT_PARAM_TASK_CONTROLLER_CLASS

        public static final java.lang.String INIT_PARAM_TASK_CONTROLLER_CLASS
        This is the name of the init parameter that refers to the AppController class to instantiate.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TaskProcessorServlet

        public TaskProcessorServlet()
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig config)
                  throws javax.servlet.ServletException
        Initialize this servlet.
        Specified by:
        init in interface javax.servlet.Servlet
        Overrides:
        init in class javax.servlet.GenericServlet
        Parameters:
        config - The ServletConfig object associated with this servlet.
        Throws:
        javax.servlet.ServletException - If something fails in the initialization of the AppController.
      • destroy

        public void destroy()
        Destroy any data associated with the servlet.
        Specified by:
        destroy in interface javax.servlet.Servlet
        Overrides:
        destroy in class javax.servlet.GenericServlet
      • doGet

        protected void doGet​(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response)
                      throws javax.servlet.ServletException,
                             java.io.IOException
        Handle an incoming HTTP GET request.
        Overrides:
        doGet in class javax.servlet.http.HttpServlet
        Parameters:
        request - The HttpServletRequest object.
        response - The HttpServletResponse object.
        Throws:
        javax.servlet.ServletException - If something fails in the handling of the request.
        java.io.IOException - If we lose a connection to the client.
      • doPost

        protected void doPost​(javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse response)
                       throws javax.servlet.ServletException,
                              java.io.IOException
        Handles an HTTP POST request.
        Overrides:
        doPost in class javax.servlet.http.HttpServlet
        Parameters:
        request - The HttpServletRequest object.
        response - The HttpServletResponse object.
        Throws:
        javax.servlet.ServletException - If something fails in the handling of the request.
        java.io.IOException - If we lose a connection to the client.