spring data optional request param 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) {