net.java.dev.moskito.web
Class MoskitoFilter
java.lang.Object
net.java.dev.moskito.web.MoskitoFilter
- All Implemented Interfaces:
- Filter
- Direct Known Subclasses:
- DomainFilter, RefererFilter, RequestURIFilter, UserAgentFilter
public abstract class MoskitoFilter
- extends Object
- implements Filter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected org.apache.log4j.Logger log
INIT_PARAM_LIMIT
public static final String INIT_PARAM_LIMIT
- See Also:
- Constant Field Values
onDemandProducer
private OnDemandStatsProducer onDemandProducer
MoskitoFilter
public MoskitoFilter()
doFilter
public void doFilter(ServletRequest req,
ServletResponse res,
FilterChain chain)
throws IOException,
ServletException
- Specified by:
doFilter in interface Filter
- Throws:
IOException
ServletException
init
public void init(FilterConfig config)
throws ServletException
- Specified by:
init in interface Filter
- Throws:
ServletException
destroy
public void destroy()
- Specified by:
destroy in interface Filter
extractCaseName
protected abstract String extractCaseName(ServletRequest req,
ServletResponse res)
getProducerId
public String getProducerId()
- Returns the producer id. Override this method if you want a useful name in your logs. Default is class name.
getCategory
public String getCategory()
getSubsystem
public String getSubsystem()
getMonitoringIntervals
protected Interval[] getMonitoringIntervals()
Copyright © 2006 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework