public class JAMonJettyHandler
extends org.mortbay.jetty.handler.HandlerWrapper
Constructor and Description |
---|
JAMonJettyHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addSummaryLabel(String jamonSummaryLabel) |
boolean |
getEnabled() |
boolean |
getIgnoreHttpParams()
Containers (tomcat/jetty etc) put jessionid (and other params) as part of what is returned by HttpServletRequest.getRequestURI, and HttpServletRequest.getRequestURL.
|
int |
getSize() |
String |
getSummaryLabels() |
void |
handle(String target,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
int dispatch)
Monitor the request and call any other requests in the decorator chain
|
void |
setEnabled(boolean enable)
Enable/disable monitoring.
|
void |
setIgnoreHttpParams(boolean ignoreHttpParams)
Containers (tomcat/jetty etc) put jessionid (and other params) as part of what is returned by HttpServletRequest.getRequestURI, and HttpServletRequest.getRequestURL.
|
void |
setSize(int size)
Set maximum number of rows that can be in jamon before no more records are added.
|
void |
setSummaryLabels(String jamonSummaryLabels) |
addHandler, doStart, doStop, expandChildren, getHandler, removeHandler, setHandler, setServer
expandHandler, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public void handle(String target, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, int dispatch) throws IOException, javax.servlet.ServletException
handle
in interface org.mortbay.jetty.Handler
handle
in class org.mortbay.jetty.handler.HandlerWrapper
IOException
javax.servlet.ServletException
public void setSummaryLabels(String jamonSummaryLabels)
public String getSummaryLabels()
public void addSummaryLabel(String jamonSummaryLabel)
public boolean getIgnoreHttpParams()
public void setIgnoreHttpParams(boolean ignoreHttpParams)
public void setEnabled(boolean enable)
public int getSize()
public boolean getEnabled()
public void setSize(int size)
Copyright © 2015. All rights reserved.