본문 바로가기

개발/TIL

[TIL#28] 스프링 개인 과제 : ResponseEntity / RequestEntity / 필터 예외처리

 

오늘 공부 키워드

1. JWT / 로그인 / 회원 가입 기능 구현

2. 인증 / 인가 처리 필터 구현

 

 

 

ResponseEntity / RequestEntity

2024.05.29 - [개발/Spring] - [Spring] ResponseEntity / RequestEntity

 

[Spring] ResponseEntity / RequestEntity

ResponseEntity / RequestEntityResponseEntity와 RequestEntity는 스프링에서 제공하는 클래스이다. 두 클래스 모두 스프링에서 제공하는 HttpEntity 클래스를 상속받아서 구현된다. HttpEntity는 Httpheader와 Httpbody를

ggumijju.tistory.com

 

 

 

 

필터 예외처리

2024.05.29 - [개발/Spring] - [Spring] 필터에서 발생한 예외는 어떻게 처리하는 게 좋을까?

 

[Spring] 필터에서 발생한 예외는 어떻게 처리하는 게 좋을까?

JWT를 사용하여 인증 / 인가 처리를 해주는 필터를 만들고 있었다. 여기서 발생한 예외들을 처리해주어야하는데, 어떻게 처리하는 게 좋을지 고민해보았다.  1. GlobalExceptionHandler에서 처리해볼까

ggumijju.tistory.com