관리 메뉴

웹개발 블로그

[Spring] 스프링에서 지원하는 ArgumentResolver 사이트 본문

◆SPRING/정리

[Spring] 스프링에서 지원하는 ArgumentResolver 사이트

쿠키린 2023. 11. 9. 10:29

Method Arguments :: Spring Framework

 

Method Arguments :: Spring Framework

JDK 8’s java.util.Optional is supported as a method argument in combination with annotations that have a required attribute (for example, @RequestParam, @RequestHeader, and others) and is equivalent to required=false.

docs.spring.io

파라미터를 유연하게 처리할 수 있는 이유는

ArgumentResolver 때문임!