public interface WebMvcRegistrations
WebMvcConfigurationSupport
の主要コンポーネントを登録するためのインターフェース。すべてのカスタムインスタンスは、後で Boot および Spring MVC 構成によって処理されます。このコンポーネントの単一のインスタンスを登録する必要があります。そうしないと、冗長な MVC コンポーネントから選択できなくなります。
WebMvcAutoConfiguration.EnableWebMvcConfiguration
修飾子と型 | メソッドと説明 |
---|---|
default ExceptionHandlerExceptionResolver | getExceptionHandlerExceptionResolver() MVC 構成で使用および処理する必要があるカスタム ExceptionHandlerExceptionResolver を返します。 |
default RequestMappingHandlerAdapter | getRequestMappingHandlerAdapter() MVC 構成で使用および処理する必要があるカスタム RequestMappingHandlerAdapter を返します。 |
default RequestMappingHandlerMapping | getRequestMappingHandlerMapping() MVC 構成で使用および処理する必要があるカスタム RequestMappingHandlerMapping を返します。 |
default RequestMappingHandlerMapping getRequestMappingHandlerMapping()
RequestMappingHandlerMapping
を返します。RequestMappingHandlerMapping
インスタンス default RequestMappingHandlerAdapter getRequestMappingHandlerAdapter()
RequestMappingHandlerAdapter
を返します。RequestMappingHandlerAdapter
インスタンス default ExceptionHandlerExceptionResolver getExceptionHandlerExceptionResolver()
ExceptionHandlerExceptionResolver
を返します。ExceptionHandlerExceptionResolver
インスタンス