+ 1
read url context
Hi i have a controller method @GetMapping(value ={"viewEmps", "viewEmps/all"}) getEmployee(){} due to a requirement i need to check if "viewEmps/all" and do something else anyone know how would i read the url context and check if "all" keyword exist?
1 Odpowiedź