Class HomeController


  • @Controller
    public class HomeController
    extends java.lang.Object
    Handles requests for the application home page.
    • Constructor Summary

      Constructors 
      Constructor Description
      HomeController()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String home​(java.util.Locale locale, org.springframework.ui.Model model)
      Simply selects the home view to render by returning its name.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HomeController

        public HomeController()
    • Method Detail

      • home

        @RequestMapping(value="/",
                        method=GET)
        public java.lang.String home​(java.util.Locale locale,
                                     org.springframework.ui.Model model)
        Simply selects the home view to render by returning its name.
        Parameters:
        locale - Locale
        model - 응답 보낼 model 객체
        Returns:
        home 페이지 리턴