
목적 Spring ControllerAdvice 사용방법 예제소스 https://github.com/devHjlee/devHjBlog/tree/main/springControllerAdivce ControllerAdvice 스프링프레임워크에서 예외 처리 코드를 중복해서 작성하지 않고, 전체 컨트롤러에 대한 전역적인 예외처리를 정의 할 수 있다. 컨트롤러 메소드에서 예외가 발생하면 ControllerAdvice가 이를 가로채고 정의된 예외 처리 로직을 적용한다. RestControllerAdvice ControllerAdvice 와 비슷한 기능을 제공하지만 반환되는 값의 형식이 다르다. ControllerAdvice 는 ModelAndView 객체를 반환하여 뷰를 랜더링 할 수 있지만, RestContro..
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- spring security
- actuator prometheus grafana
- spring boot jpa
- nginx gzip
- spring redis cache
- kafka srping event
- kafka redis
- cursor ai 프로젝트
- custom Item writer
- tomcat gzip
- SpringBatch 5.1.1
- cursor ai 프롬프트
- JdbcBatchItem
- oubox pattern
- CompositeItemWriter
- AWS 클라우드 환경
- Spring Actuator
- spring boot redis cache
- Enum ==
- redis cache
- kafka oubox
- cursorAI
- Enum equals
- sse vs websocket
- Spring boot Actuator
- spring boot gzip
- spring boot jpa crud
- no `meta.properties` found in
- cursor ai crud
- Enum Equals ==
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
글 보관함