クラスの使用
org.springframework.web.servlet.config.annotation.ViewControllerRegistry
org.springframework.web.servlet.config.annotation 内の ViewControllerRegistry 使用
修飾子と型メソッド説明protected void
DelegatingWebMvcConfiguration.addViewControllers
(ViewControllerRegistry registry) protected void
WebMvcConfigurationSupport.addViewControllers
(ViewControllerRegistry registry) このメソッドをオーバーライドして、ビューコントローラーを追加します。default void
WebMvcConfigurer.addViewControllers
(ViewControllerRegistry registry) レスポンスステータスコードおよび / またはビューで事前構成された単純な自動コントローラーを構成して、レスポンス本文をレンダリングします。