public class JAMonTomcat55Valve
extends org.apache.catalina.valves.ValveBase
<Valve className="com.jamonapi.http.JAMonTomcatValve"/>
same as default above
<Valve className="com.jamonapi.http.JAMonTomcatValve" summaryLabels="request.getRequestURI().ms, response.getContentCount().bytes, response.getStatus().value.httpStatus">
<Valve className="com.jamonapi.http.JAMonTomcatValve summaryLabels="request.getRequestURI().ms, request.getRequestURI().value.ms, response.getContentCount().pageBytes,response.getStatus().httpStatusCode, response.getStatus().value.httpStatusCode, response.getContentType().value.type"/>
Constructor and Description |
---|
JAMonTomcat55Valve() |
Modifier and Type | Method and Description |
---|---|
void |
addSummaryLabel(String jamonSummaryLabel) |
boolean |
getEnabled() |
boolean |
getIgnoreHttpParams() |
String |
getInfo() |
int |
getSize() |
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) |
void |
setIgnoreHttpParams(boolean ignoreHttpParams) |
void |
setSize(int size) |
void |
setSummaryLabels(String jamonSummaryLabels) |
backgroundProcess, createObjectName, event, getContainer, getContainerName, getController, getDomain, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setContainer, setController, setNext, setObjectName, toString
public void invoke(org.apache.catalina.connector.Request request, org.apache.catalina.connector.Response response) throws IOException, javax.servlet.ServletException
process()
method to perform the actual filtering.
This method must be implemented by a concrete subclass.
http://www.jdocs.com/tomcat/5.5.17/org/apache/catalina/valves/RequestFilterValve.htmlinvoke
in interface org.apache.catalina.Valve
invoke
in class org.apache.catalina.valves.ValveBase
request
- The servlet request to be processedresponse
- The servlet response to be createdIOException
- if an input/output error occursjavax.servlet.ServletException
- if a servlet error occurspublic 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)
public String getInfo()
getInfo
in interface org.apache.catalina.Valve
getInfo
in class org.apache.catalina.valves.ValveBase
Copyright © 2015. All rights reserved.