이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 11. @DefaultValue
@DefaultValue is a parameter annotation that can be combined with any other @*Param annotations to define a default value where the HTTP request item does not exist.
@GET
public String getBooks(@QueryParam("num") @DefaultValue("10") int num) {...}
@GET
public String getBooks(@QueryParam("num") @DefaultValue("10") int num) {...}