package org.onap.portal.controller;
import org.springframework.stereotype.Controller;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.GetMapping;
@Controller
public class LoginController {
- @RequestMapping(value = "login", method = RequestMethod.GET)
+ @GetMapping(value = "login")
public String loginView() {
return "login";
}