org.apache.cocoon.profiling.profiler
Class ServletProfiler
java.lang.Object
org.apache.cocoon.profiling.profiler.Profiler<Servlet>
org.apache.cocoon.profiling.profiler.ServletProfiler
public class ServletProfiler
- extends Profiler<Servlet>
The profiler for Servlet
, which intercepts the service method to add the profiling id
information to the HTTP header.
Fields inherited from class org.apache.cocoon.profiling.profiler.Profiler |
logger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletProfiler
public ServletProfiler()
ServletProfiler
protected ServletProfiler(Class<? extends Servlet> clazz)
beforeService
public final void beforeService(ProfilingData data,
Servlet component,
Object[] args)
createRelativeUrl
public String createRelativeUrl(String inputUrl,
String profilingId)
getMountPath
public String getMountPath()
setMountPath
public void setMountPath(String mountPath)
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.