public class HttpTraceFilter extends OncePerRequestFilter implements Ordered
Filter that logs all requests to an HttpTraceRepository.ALREADY_FILTERED_SUFFIXloggerHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
HttpTraceFilter(HttpTraceRepository repository,
HttpExchangeTracer tracer)
Create a new
HttpTraceFilter instance. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFilterInternal(HttpServletRequest request,
HttpServletResponse response,
FilterChain filterChain) |
int |
getOrder() |
void |
setOrder(int order) |
doFilter, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatchaddRequiredProperty, afterPropertiesSet, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContextpublic HttpTraceFilter(HttpTraceRepository repository, HttpExchangeTracer tracer)
HttpTraceFilter instance.repository - the trace repositorytracer - used to trace exchangespublic void setOrder(int order)
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException
doFilterInternal in class OncePerRequestFilterServletExceptionIOExceptionCopyright © 2018 Pivotal Software, Inc.. All rights reserved.