| com.jamonapi.http.HttpMonManage
All known Subclasses: com.jamonapi.http.HttpMonFactory, com.jamonapi.http.JAMonServletFilter, com.jamonapi.http.JAMonTomcatValve, com.jamonapi.http.JAMonJettyHandler,
HttpMonManage | interface HttpMonManage (Code) | | Interface for controlling what http request/response info that should be monitored
|
Method Summary | |
public void | addSummaryLabel(String jamonSummaryLabel) | public boolean | getEnabled() | public boolean | getIgnoreHttpParams() Containers (tomcat/jetty etc) put jessionid (and other params) as part of what is returned by HttpServletRequest.getRequestURI, and HttpServletRequest.getRequestURL. | public int | getSize() | public String | getSummaryLabels() | public void | setEnabled(boolean enable) enable/disable monitoring. | public 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. | public void | setSize(int size) Set maximum number of rows that can be in jamon before no more records are added. | public void | setSummaryLabels(String jamonSummaryLabels) |
addSummaryLabel | public void addSummaryLabel(String jamonSummaryLabel)(Code) | | |
getEnabled | public boolean getEnabled()(Code) | | |
getIgnoreHttpParams | public boolean getIgnoreHttpParams()(Code) | | Containers (tomcat/jetty etc) put jessionid (and other params) as part of what is returned by HttpServletRequest.getRequestURI, and HttpServletRequest.getRequestURL.
This can make many pages not unique enough to benefit from jamon, so by default this part of the url is removed from the monitoring label.
Example this: /myapp/mypage.jsp;jsessionid=320sljsdofou
becomes this in the jamon label: /myapp/mypage.jsp
getIgnoreHttpParams() - return if this is enabled or disabled (true means the params will be removed/ignored. This is the default behaviour)
setIgnoreHttpParams(boolean httpIgnoreParams) - set whether it is enabled or disabled (true means the params will be removed/ignored. This is the default behaviour)
|
getSize | public int getSize()(Code) | | |
setEnabled | public void setEnabled(boolean enable)(Code) | | enable/disable monitoring. Would be better to name them enable and isEnabled, but as far as I could tell tomcat can only initialize
getter and setter methods.
|
setIgnoreHttpParams | public void setIgnoreHttpParams(boolean ignoreHttpParams)(Code) | | Containers (tomcat/jetty etc) put jessionid (and other params) as part of what is returned by HttpServletRequest.getRequestURI, and HttpServletRequest.getRequestURL.
This can make many pages not unique enough to benefit from jamon, so by default this part of the url is removed from the monitoring label.
Example this: /myapp/mypage.jsp;jsessionid=320sljsdofou
becomes this in the jamon label: /myapp/mypage.jsp
getIgnoreHttpParams() - return if this is enabled or disabled (true means the params will be removed/ignored. This is the default behaviour)
setIgnoreHttpParams(boolean httpIgnoreParams) - set whether it is enabled or disabled (true means the params will be removed/ignored. This is the default behaviour)
|
setSize | public void setSize(int size)(Code) | | Set maximum number of rows that can be in jamon before no more records are added. This will prevent jamon from growing unbounded
|
setSummaryLabels | public void setSummaryLabels(String jamonSummaryLabels)(Code) | | |
|
|