+ 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?

25th Mar 2020, 11:28 AM
Duvindu pamaljith
Duvindu pamaljith - avatar
1 Odpowiedź