public class

MobileServlet

extends HttpServlet
java.lang.Object
   ↳ javax.servlet.GenericServlet
     ↳ javax.servlet.http.HttpServlet
       ↳ com.microstrategy.web.servlets.MobileServlet

Summary

Constants
String INIT_PARAM_MOBILE_CONTROLLER_CLASS This is the name of the init parameter that refers to the AppController class to instantiate.
Public Constructors
MobileServlet()
Public Methods
void destroy()
Destroy any data associated with the servlet.
void init(ServletConfig config)
Initialize this servlet.
Protected Methods
void doGet(HttpServletRequest request, HttpServletResponse response)
Handle an incoming HTTP GET request.
void doPost(HttpServletRequest request, HttpServletResponse response)
Handles an HTTP POST request.
[Expand]
Inherited Methods
From class javax.servlet.http.HttpServlet
From class javax.servlet.GenericServlet
From class java.lang.Object
From interface javax.servlet.Servlet
From interface javax.servlet.ServletConfig

Constants

public static final String INIT_PARAM_MOBILE_CONTROLLER_CLASS

This is the name of the init parameter that refers to the AppController class to instantiate.

Constant Value: "controllerClass"

Public Constructors

public MobileServlet ()

Public Methods

public void destroy ()

Destroy any data associated with the servlet.

public void init (ServletConfig config)

Initialize this servlet.

Parameters
config The ServletConfig object associated with this servlet.
Throws
ServletException If something fails in the initialization of the AppController.

Protected Methods

protected void doGet (HttpServletRequest request, HttpServletResponse response)

Handle an incoming HTTP GET request.

Parameters
request The HttpServletRequest object.
response The HttpServletResponse object.
Throws
ServletException If something fails in the handling of the request.
IOException If we lose a connection to the client.

protected void doPost (HttpServletRequest request, HttpServletResponse response)

Handles an HTTP POST request.

Parameters
request The HttpServletRequest object.
response The HttpServletResponse object.
Throws
ServletException If something fails in the handling of the request.
IOException If we lose a connection to the client.