@SlingServletPaths, is there a way to specify wild card?
We want to build a single proxy servlet which will serve a number of different paths, such as
/api/register
/api/player/1234/
/api/player/12312/transactions
Basically, any and every path below /api/
Currently we are using this pattern, which only allows a single fixed path:
@Slf4j
@Component(service = { Servlet.class })
@SlingServletPaths(value="/bin/somepath")
private class MyServlet extends SlingAllMethodsServlet
Any suggestions on how to do this?
We are using AEM cloud, so try to avoid anything which would require CRXDE
I found a potential solution here, but it wont compile unfortunately (the annotations etc are no longer available):
https://stackoverflow.com/a/41990177/1072187