org.apache.geronimo.jmxdebug.web.velocity
Class DebugServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.geronimo.jmxdebug.web.velocity.BasicVelocityActionServlet
org.apache.geronimo.jmxdebug.web.velocity.DebugServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class DebugServlet
- extends BasicVelocityActionServlet
Simple servlet for looking at mbeans
- Version:
- $Id: DebugServlet.java,v 1.2 2004/07/26 17:14:48 dain Exp $
- See Also:
- Serialized Form
Method Summary |
void |
defaultAction(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
The only real action - just puts the mbean server helper in the
context, and if there was a mbean specified for details, shoves
a MBeanINfoHelper in the context |
protected String |
getActionVerb()
Defines the 'action verb' for the app |
void |
unknownAction(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Called when there is a request w/ invalid action verb |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OBJECT_NAME_FILTER_KEY
public static String OBJECT_NAME_FILTER_KEY
DebugServlet
public DebugServlet()
getActionVerb
protected String getActionVerb()
- Description copied from class:
BasicVelocityActionServlet
- Defines the 'action verb' for the app
- Specified by:
getActionVerb
in class BasicVelocityActionServlet
defaultAction
public void defaultAction(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
- The only real action - just puts the mbean server helper in the
context, and if there was a mbean specified for details, shoves
a MBeanINfoHelper in the context
- Specified by:
defaultAction
in class BasicVelocityActionServlet
- Throws:
javax.servlet.ServletException
IOException
unknownAction
public void unknownAction(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
- Description copied from class:
BasicVelocityActionServlet
- Called when there is a request w/ invalid action verb
- Specified by:
unknownAction
in class BasicVelocityActionServlet
- Throws:
javax.servlet.ServletException
IOException
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.