package org.libresonic.player.controller; import org.libresonic.player.Logger; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.servlet.ModelAndView; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * Spring MVC Controller that serves the login page. */ @Controller @RequestMapping("/test") public class TestController { private static final Logger LOG = Logger.getLogger(TestController.class); @RequestMapping(method = {RequestMethod.GET}) public ModelAndView test(HttpServletRequest request, HttpServletResponse response) { return new ModelAndView("test"); } }