public class JAMonJettyHandlerNew
extends org.eclipse.jetty.server.handler.HandlerWrapper
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
Constructor and Description |
---|
JAMonJettyHandlerNew() |
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,
org.eclipse.jetty.server.Request baseRequest,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
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) |
destroy, expandChildren, getHandler, getHandlers, setHandler, setServer
expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass
doStart, doStop, dumpThis, getServer
addBean, addBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public void handle(String target, org.eclipse.jetty.server.Request baseRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
handle
in interface org.eclipse.jetty.server.Handler
handle
in class org.eclipse.jetty.server.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.