クラス HttpExchangesFilter
java.lang.ObjectSE
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.OncePerRequestFilter
org.springframework.boot.servlet.actuate.web.exchanges.HttpExchangesFilter
- 実装されているすべてのインターフェース:
FilterEE, Aware, BeanNameAware, DisposableBean, InitializingBean, EnvironmentAware, EnvironmentCapable, Ordered, ServletContextAware
HTTP exchanges を記録するためのサーブレット FilterEE。- 導入:
- 4.0.0
- 作成者:
- Dave Syer, Wallace Wadge, Andy Wilkinson, Venil Noronha, Madhura Bhave
フィールドのサマリー
クラス OncePerRequestFilter から継承されたフィールド
ALREADY_FILTERED_SUFFIXクラス GenericFilterBean から継承されたフィールド
loggerインターフェース Ordered から継承されたフィールド
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCEコンストラクターの概要
コンストラクターコンストラクター説明HttpExchangesFilter(HttpExchangeRepository repository, SetSE<Include> includes) 新しいHttpExchangesFilterインスタンスを作成します。方法の概要
修飾子と型メソッド説明protected voiddoFilterInternal(HttpServletRequestEE request, HttpServletResponseEE response, FilterChainEE filterChain) intgetOrder()voidsetOrder(int order) クラス OncePerRequestFilter から継承されたメソッド
doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch
コンストラクターの詳細
HttpExchangesFilter
新しいHttpExchangesFilterインスタンスを作成します。- パラメーター:
repository- イベントの記録に使用されるリポジトリincludes- インクルードオプション
メソッドの詳細
getOrder
setOrder
public void setOrder(int order) doFilterInternal
protected void doFilterInternal(HttpServletRequestEE request, HttpServletResponseEE response, FilterChainEE filterChain) throws ServletExceptionEE, IOExceptionSE - 次で指定:
- クラス
OncePerRequestFilterのdoFilterInternal - 例外:
ServletExceptionEEIOExceptionSE