Monthly Archives: 11월 2020
Spring Boot JSP 활성화
공통 데이타처리
Authentication 과 Authorization 의 차이
Authentication 과 Authorization 의 차이
Authentication : 로그인체크
접속자의 아이디를 확인하는 단계이다.
Authorization : 권한체크
… 더보기ControllerAdvice
ControllerAdvice
ControllerAdvice
의 용도에 대해 정리해 둔다.
ExceptionHandler
가장 일반적으로 사용되는 케이스이다.
Controller
에서 발생하는 … 더보기
ResponseEntity 에 Generic type 사용하기
ResponseEntity 에 Generic type 사용하기
Generic type
@Getter
@NoArgsConstructor
public class MenusSaveRequestDto implements Serializable {
… 더보기 RestTemplate 에 Custom header 추가하기
Lombok Builder 와 상속
Run Application on CLI
ControllerAdvice
ControllerAdvice
RestControllerAdvice
컨트롤러에서 발생하는 오류를 통합해서 관리할 수 있습니다.
하지만!!
ControllerAdvice
에서 처리 안하는 에러가 … 더보기