クラスの使用
org.springframework.web.servlet.config.annotation.InterceptorRegistry
org.springframework.web.servlet.config.annotation 内の InterceptorRegistry 使用
修飾子と型メソッド説明protected void
DelegatingWebMvcConfiguration.addInterceptors
(InterceptorRegistry registry) protected void
WebMvcConfigurationSupport.addInterceptors
(InterceptorRegistry registry) このメソッドをオーバーライドして、コントローラー呼び出しの前後処理用に Spring MVC インターセプターを追加します。default void
WebMvcConfigurer.addInterceptors
(InterceptorRegistry registry) コントローラーメソッド呼び出しとリソースハンドラーリクエストの前後処理用に Spring MVC ライフサイクルインターセプターを追加します。