クラス ApplicationContextHeaderFilter
java.lang.ObjectSE
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.OncePerRequestFilter
org.springframework.boot.servlet.filter.ApplicationContextHeaderFilter
- 実装されているすべてのインターフェース:
FilterEE, Aware, BeanNameAware, DisposableBean, InitializingBean, EnvironmentAware, EnvironmentCapable, ServletContextAware
OncePerRequestFilter は、ApplicationContext ID を含む X-Application-Context ヘッダーを追加します。- 導入:
- 4.0.0
- 作成者:
- Phillip Webb, Venil Noronha
フィールドのサマリー
フィールドクラス OncePerRequestFilter から継承されたフィールド
ALREADY_FILTERED_SUFFIXクラス GenericFilterBean から継承されたフィールド
loggerコンストラクターの概要
コンストラクター方法の概要
修飾子と型メソッド説明protected voiddoFilterInternal(HttpServletRequestEE request, HttpServletResponseEE response, FilterChainEE filterChain) クラス OncePerRequestFilter から継承されたメソッド
doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch
フィールドの詳細
HEADER_NAME
コンストラクターの詳細
ApplicationContextHeaderFilter
メソッドの詳細
doFilterInternal
protected void doFilterInternal(HttpServletRequestEE request, HttpServletResponseEE response, FilterChainEE filterChain) throws ServletExceptionEE, IOExceptionSE - 次で指定:
- クラス
OncePerRequestFilterのdoFilterInternal - 例外:
ServletExceptionEEIOExceptionSE