public class MdxQueryServlet
extends javax.servlet.http.HttpServlet
MdxQueryServlet
is a servlet which receives MDX queries,
executes them, and formats the results in an HTML table.Constructor and Description |
---|
MdxQueryServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys the servlet.
|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the HTTP
GET method. |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the HTTP
POST method. |
String |
getServletInfo()
Returns a short description of the servlet.
|
void |
init(javax.servlet.ServletConfig config)
Initializes the servlet.
|
protected void |
processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes requests for both HTTP
GET and POST
methods. |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
protected void processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
GET
and POST
methods.request
- servlet requestresponse
- servlet responsejavax.servlet.ServletException
IOException
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
GET
method.doGet
in class javax.servlet.http.HttpServlet
request
- servlet requestresponse
- servlet responsejavax.servlet.ServletException
IOException
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
POST
method.doPost
in class javax.servlet.http.HttpServlet
request
- servlet requestresponse
- servlet responsejavax.servlet.ServletException
IOException
public String getServletInfo()
getServletInfo
in interface javax.servlet.Servlet
getServletInfo
in class javax.servlet.GenericServlet
Copyright © 2020 Hitachi Vantara. All rights reserved.