etm.contrib.integration.web
Class HttpConsoleServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
etm.contrib.integration.web.HttpConsoleServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- Direct Known Subclasses:
- SpringHttpConsoleServlet
public class HttpConsoleServlet
- extends javax.servlet.http.HttpServlet
A servlet that renders aggregated EtmMonitor results. The EtmMonitor will be retrieve from
EtmManager.getEtmMonitor(). Therefore it is recommended to
to this service in conjuction with the Etm Lifecycle support
EtmMonitorContextListener.
By default performance results will be rendered expanded. The servlet context parameter expanded
can be used to override this behavior. Set expanded false to render all results including
nested ones, andset it to false to return to default behavior.
- Since:
- 1.2.0
- Version:
- $Revision: 59 $
- Author:
- void.fm
- See Also:
- Serialized Form
|
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest aHttpServletRequest,
javax.servlet.http.HttpServletResponse aHttpServletResponse)
|
protected EtmMonitor |
getEtmMonitor()
|
void |
init(javax.servlet.ServletConfig aServletConfig)
|
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, 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 |
EXPANDED_RESULTS
public static final java.lang.String EXPANDED_RESULTS
- See Also:
- Constant Field Values
actionRegistry
protected ActionRegistry actionRegistry
etmMonitor
protected EtmMonitor etmMonitor
servletConfig
protected javax.servlet.ServletConfig servletConfig
HttpConsoleServlet
public HttpConsoleServlet()
init
public void init(javax.servlet.ServletConfig aServletConfig)
throws javax.servlet.ServletException
- Specified by:
init in interface javax.servlet.Servlet- Overrides:
init in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
doGet
protected void doGet(javax.servlet.http.HttpServletRequest aHttpServletRequest,
javax.servlet.http.HttpServletResponse aHttpServletResponse)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doGet in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
getEtmMonitor
protected EtmMonitor getEtmMonitor()
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
Copyright © 2004,2005, 2006, 2007 void.fm. All Rights Reserved.