|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.tools.profiler.ProfilerFilter
public class ProfilerFilter
Creates a ProfilerPoint
for each invocation of doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
.
Constructor Summary | |
---|---|
ProfilerFilter()
|
Method Summary | |
---|---|
void |
destroy()
Cleanup the filter. |
void |
doFilter(ServletRequest servletRequest,
ServletResponse servletResponse,
FilterChain chain)
doFilter performs the actual work of a filter, either modifying the request or the response. |
void |
init(FilterConfig filterConfig)
Initialize the filter. |
boolean |
isUseQuery()
|
void |
setUseQuery(boolean useQuery)
If true, use the query portion of the url to distinguish requests, default is false. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProfilerFilter()
Method Detail |
---|
public void setUseQuery(boolean useQuery)
public boolean isUseQuery()
public void init(FilterConfig filterConfig) throws ServletException
Filter
init
in interface Filter
ServletException
public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain chain) throws ServletException, java.io.IOException
Filter
doFilter
in interface Filter
servletRequest
- the servlet requestservletResponse
- the servlet responsechain
- the next filter in the chain
ServletException
java.io.IOException
public void destroy()
Filter
destroy
in interface Filter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |