Erik Holstad
2014-03-20 23:34:14 UTC
Hey!
I wounder if there is a way to route all calls to any sub paths to a given
parent path.
Let's pretend we have 2 endpoints
GET /foo and
GET /foo/bar
I would like to be able to catch them both in one method and then branch
afterwards.
I know I can do this using the regular HttpServletRequest but I just want
this functionality for one specific path so don't want to change the
structure of the other servlets.
I wounder if there is a way to route all calls to any sub paths to a given
parent path.
Let's pretend we have 2 endpoints
GET /foo and
GET /foo/bar
I would like to be able to catch them both in one method and then branch
afterwards.
I know I can do this using the regular HttpServletRequest but I just want
this functionality for one specific path so don't want to change the
structure of the other servlets.
--
Regards Erik
Regards Erik