Answers for "@param in spring boot"

2

spring url parameter

@RequestMapping("/{someID}")
public @ResponseBody int getAttr(@PathVariable(value="someID") String id, 
                                 @RequestParam String someAttr) {
}
Posted by: Guest on October-19-2020
0

spring boot param object

@RequestMapping("/{someID}")
public @ResponseBody int getAttr(@PathVariable(value="someID") String id, 
                                 @RequestParam String someAttr) {
}
Posted by: Guest on December-22-2020

Code answers related to "@param in spring boot"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language