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