Package mondrian.web.servlet
Class MdxQueryServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
mondrian.web.servlet.MdxQueryServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
public class MdxQueryServlet
extends jakarta.servlet.http.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:
-
Field Summary
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Destroys the servlet.protected voiddoGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Handles the HTTPGETmethod.protected voiddoPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Handles the HTTPPOSTmethod.Returns a short description of the servlet.voidinit(jakarta.servlet.ServletConfig config) Initializes the servlet.protected voidprocessRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Processes requests for both HTTPGETandPOSTmethods.Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
-
Constructor Details
-
MdxQueryServlet
public MdxQueryServlet()
-
-
Method Details
-
init
public void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException Initializes the servlet.- Specified by:
initin interfacejakarta.servlet.Servlet- Overrides:
initin classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletException
-
destroy
public void destroy()Destroys the servlet.- Specified by:
destroyin interfacejakarta.servlet.Servlet- Overrides:
destroyin classjakarta.servlet.GenericServlet
-
processRequest
protected void processRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException Processes requests for both HTTPGETandPOSTmethods.- Parameters:
request- servlet requestresponse- servlet response- Throws:
jakarta.servlet.ServletExceptionIOException
-
doGet
protected void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException Handles the HTTPGETmethod.- Overrides:
doGetin classjakarta.servlet.http.HttpServlet- Parameters:
request- servlet requestresponse- servlet response- Throws:
jakarta.servlet.ServletExceptionIOException
-
doPost
protected void doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException Handles the HTTPPOSTmethod.- Overrides:
doPostin classjakarta.servlet.http.HttpServlet- Parameters:
request- servlet requestresponse- servlet response- Throws:
jakarta.servlet.ServletExceptionIOException
-
getServletInfo
Returns a short description of the servlet.- Specified by:
getServletInfoin interfacejakarta.servlet.Servlet- Overrides:
getServletInfoin classjakarta.servlet.GenericServlet
-