mondrian.web.servlet
Class MDXQueryServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by mondrian.web.servlet.MDXQueryServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class MDXQueryServlet
extends HttpServlet

MDXQueryServlet is a servlet which receives MDX queries, executes them, and formats the results in an HTML table.

Since:
13 February, 2002
Author:
Sean McCullough
See Also:
Serialized Form
 

Constructor Summary
MDXQueryServlet()
           
 
Method Summary
 void destroy()
          Destroys the servlet.
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
          Handles the HTTP GET method.
protected  void doPost(HttpServletRequest request, HttpServletResponse response)
          Handles the HTTP POST method.
 String getServletInfo()
          Returns a short description of the servlet.
 void init(ServletConfig config)
          Initializes the servlet.
protected  void processRequest(HttpServletRequest request, HttpServletResponse response)
          Processes requests for both HTTP GET and POST methods.
 
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, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MDXQueryServlet

public MDXQueryServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Initializes the servlet.

Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Throws:
ServletException

destroy

public void destroy()
Destroys the servlet.

Specified by:
destroy in interface Servlet
Overrides:
destroy in class GenericServlet

processRequest

protected void processRequest(HttpServletRequest request,
                              HttpServletResponse response)
                       throws ServletException,
                              IOException
Processes requests for both HTTP GET and POST methods.

Throws:
ServletException
IOException
Parameters:
request - servlet request
response - servlet response

doGet

protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     IOException
Handles the HTTP GET method.

Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException
Parameters:
request - servlet request
response - servlet response

doPost

protected void doPost(HttpServletRequest request,
                      HttpServletResponse response)
               throws ServletException,
                      IOException
Handles the HTTP POST method.

Overrides:
doPost in class HttpServlet
Throws:
ServletException
IOException
Parameters:
request - servlet request
response - servlet response

getServletInfo

public String getServletInfo()
Returns a short description of the servlet.

Specified by:
getServletInfo in interface Servlet
Overrides:
getServletInfo in class GenericServlet

SourceForge.net_Logo