Spring/@annotation

@NotNull, @NotEmpty, @NotBlank

melitina 2024. 6. 9. 02:29

https://sanghye.tistory.com/36

 

[Spring Boot] @NotNull, @NotEmpty, @NotBlank 의 차이점 및 사용법

개발하시는 API 의 request parameter 의 null 체크를 어떻게 하고 계신가요? 대부분 별도의 null 체크 util 을 사용하거나, Controller 에서 조건문을 사용하여 null 을 체크하기도 합니다. 이러한 조건문과 메

sanghye.tistory.com

 

'Spring > @annotation' 카테고리의 다른 글

@RequestParam  (0) 2024.06.09
@RequestBody, @ResponseBody  (0) 2024.06.09
@Validated, @Valid  (0) 2024.06.09
@interface  (0) 2024.06.09
@Retention  (0) 2024.06.09