public class JAMonTomcatValve
extends org.apache.catalina.valves.ValveBase
asyncSupported, container, containerLog, next, sm
AFTER_DESTROY_EVENT, AFTER_INIT_EVENT, AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_DESTROY_EVENT, BEFORE_INIT_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, CONFIGURE_START_EVENT, CONFIGURE_STOP_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT
Constructor and Description |
---|
JAMonTomcatValve() |
Modifier and Type | Method and Description |
---|---|
void |
addSummaryLabel(java.lang.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.
|
java.lang.String |
getInfo() |
int |
getSize() |
java.lang.String |
getSummaryLabels() |
void |
invoke(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response)
Extract the desired request property, and pass it (along with the
specified request and response objects) to the protected
process() method to perform the actual filtering. |
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(java.lang.String jamonSummaryLabels) |
backgroundProcess, getContainer, getDomainInternal, getNext, getObjectNameKeyProperties, initInternal, isAsyncSupported, setAsyncSupported, setContainer, setNext, startInternal, stopInternal, toString
destroyInternal, getDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregister
public void invoke(org.apache.catalina.connector.Request request, org.apache.catalina.connector.Response response) throws java.io.IOException, javax.servlet.ServletException
process()
method to perform the actual filtering.
This method must be implemented by a concrete subclass.invoke
in interface org.apache.catalina.Valve
request
- The servlet request to be processedresponse
- The servlet response to be createdjava.io.IOException
- if an input/output error occursjavax.servlet.ServletException
- if a servlet error occurs
http://www.jdocs.com/tomcat/5.5.17/org/apache/catalina/valves/RequestFilterValve.html
log response, request to see what they do.
debug mode?
test xml - read propertypublic void setSummaryLabels(java.lang.String jamonSummaryLabels)
public java.lang.String getSummaryLabels()
public void addSummaryLabel(java.lang.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)
public java.lang.String getInfo()