public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
Object timedObject = ProxyProfiler.getTimedObject();
if (Profiler.isEnabled()) {
StringBuffer b = request.getRequestURL();
String url = b.toString();
ProfilerAggregator agg = Profiler.startProfileBlock(profilerRequest, request.getMethod().toUpperCase() + " " + url);
long ts = Profiler.getCurrentTime();
try {
serviceProxy(request, response);
} finally {
Profiler.endProfileBlock(agg, ts);