Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- spring
- SpringBoot
- pointcut
- http
- Servlet
- kotlin
- Exception
- 스프링 핵심 기능
- 알고리즘
- Greedy
- 스프링
- Proxy
- 자바
- db
- Spring Boot
- jpa
- 김영한
- AOP
- transaction
- QueryDSL
- 백준
- Thymeleaf
- 인프런
- JPQL
- java
- JDBC
- 그리디
- springdatajpa
- 스프링 핵심 원리
- Android
Archives
- Today
- Total
목록addInterceptors() (1)
개발자되기 프로젝트
[로그인] Spring Interceptor - 요청 로그
1. LogInterceptor class HandlerInterceptor를 구현 @Slf4j public class LogInterceptor implements HandlerInterceptor { public static final String LOG_ID = "logId"; @Override public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { String requestURI = request.getRequestURI(); String uuid = UUID.randomUUID().toString(); request.setAttribute(L..
인프런/[인프런] 스프링 MVC 2
2021. 9. 26. 23:54