일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- springboot
- algorithm
- error
- Spring
- Greedy
- 라이브템플릿
- brute force
- 2018 KAKAO BLIND RECRUITMENT
- Dijkstra
- 탐욕법
- 코딩테스트
- BFS
- API
- HTTP
- 프로그래머스
- spring security
- 백준
- java
- 최단경로
- 소수
- javascript
- 2981
- codility
- 문자열
- 파이썬
- counting elements
- beandefinitionstoreexception
- applicationeventpublisher
- 알고리즘
- Python
Archives
- Today
- Total
목록AOP (1)
Altiora Petamus
[Spring] AOP 활용하기
AOP? 관점 지향 프로그래밍 (Aspect Oriented Programing)의 약자로, 메인 비즈니스 로직에서 공통된 기능을 분리하여 별도로 관리할 수 있게 한다. 사용해보기 요구사항 REST API 개발 시 컨트롤러나 특정 메소드가 동작하는 시간을 측정하여 로그로 남겨야한다. 과정 간단한 api를 만들어주고 @RestController @RequestMapping("/api") public class RestApiController { @GetMapping("/get/{id}") public String get(@PathVariable Long id, @RequestParam String name) { return id + " " + name; } @PostMapping("/post") publi..
Java/Spring Framework
2021. 5. 20. 21:19