[Spring MVC]required属性のサンプル
1.reuired属性
@GetMapping(“/test")
public String test(@RequestParam(name = “username", required = false) String username)
2.URLパス
@GetMapping(“/test/{username}")
public String test(@PathVariable(“username") String username)