spring boot request param optional in object code example
Example: spring boot resource optional request param
public String processForm(@RequestParam(defaultValue="Guest") String name,
@RequestParam(required = false) String adult) {
public String processForm(@RequestParam(defaultValue="Guest") String name,
@RequestParam(required = false) String adult) {