springboot interceprot
SpringBoot [스프링부트] 시작하기(12) LeagueController, Interceptor, ControllerAdvice 만들기
SpringBoot [스프링부트] 시작하기(12) LeagueController, Interceptor, ControllerAdvice 만들기
2022.01.18TeamController, Interceptor, ControllerAdvice와 유사하므로 추가적인 설명은 생략하겠습니다. 1. LeagueController, LeagueAdvice @RestController @RequiredArgsConstructor @RequestMapping("/league") public class LeagueController { private final LeagueService leagueService; @GetMapping("/") public RestLeagueDto findByName(@RequestParam(name = "leagueName") String leagueName){ return leagueService.findLeagueByName(leagueNa..