}
@Override public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
final AHttpRequestDetails details = analyzer.analyze((HttpServletRequest) servletRequest);
final ASimpleMeasurement measurement = getSysMon().start(details.getIdentifier());
try {
for(Map.Entry<String, String> entry: details.getParameters().entrySet()) {
measurement.addParameter(entry.getKey(), entry.getValue());
}
filterChain.doFilter(servletRequest, servletResponse);
}
finally {
measurement.finish();
}
}