IT/Spring
[Spring] AOP란?
AOP 프로젝트 세팅 gradle을 통해 다운 dependencies에 implementation 'org.springframework.boot:spring-boot-starter-aop' // 추가 controller RestApiController 생성 package com.example.aop.controller; import com.example.aop.dto.User; import org.springframework.web.bind.annotation.*; @RestController @RequestMapping("/api") public class RestApiController { @GetMapping("/get/{id}") void get(@PathVariable Long id, @Requ..