Package com.microstrategy.web.servlets
Class MobileServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.microstrategy.web.servlets.MobileServlet
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class MobileServlet extends javax.servlet.http.HttpServlet
- Since:
- MicroStrategy Web 8.1.1
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
INIT_PARAM_MOBILE_CONTROLLER_CLASS
This is the name of the init parameter that refers to the AppController class to instantiate.
-
Constructor Summary
Constructors Constructor Description MobileServlet()
-
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
-
-
-
-
Field Detail
-
INIT_PARAM_MOBILE_CONTROLLER_CLASS
public static final java.lang.String INIT_PARAM_MOBILE_CONTROLLER_CLASS
This is the name of the init parameter that refers to the AppController class to instantiate.- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
Initialize this servlet.- Specified by:
init
in interfacejavax.servlet.Servlet
- Overrides:
init
in classjavax.servlet.GenericServlet
- Parameters:
config
- TheServletConfig
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 interfacejavax.servlet.Servlet
- Overrides:
destroy
in classjavax.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 classjavax.servlet.http.HttpServlet
- Parameters:
request
- TheHttpServletRequest
object.response
- TheHttpServletResponse
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 classjavax.servlet.http.HttpServlet
- Parameters:
request
- TheHttpServletRequest
object.response
- TheHttpServletResponse
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.
-
-