public class HttpTraceFilter extends OncePerRequestFilter implements Ordered
HttpTraceRepository
へのすべてのリクエストを記録するサーブレット Filter
EE。ALREADY_FILTERED_SUFFIX
logger
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
コンストラクターと説明 |
---|
HttpTraceFilter(HttpTraceRepository repository, HttpExchangeTracer tracer) 新しい HttpTraceFilter インスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected void | doFilterInternal(HttpServletRequestEE request, HttpServletResponseEE response, FilterChainEE filterChain) |
int | getOrder() |
void | setOrder(int order) |
doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch
addRequiredProperty, afterPropertiesSet, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public HttpTraceFilter(HttpTraceRepository repository, HttpExchangeTracer tracer)
HttpTraceFilter
インスタンスを作成します。repository
- トレースリポジトリ tracer
- 取引所の追跡に使用 public void setOrder(int order)
protected void doFilterInternal(HttpServletRequestEE request, HttpServletResponseEE response, FilterChainEE filterChain) throws ServletExceptionEE, IOExceptionSE
OncePerRequestFilter
の doFilterInternal
ServletExceptionEE
IOExceptionSE