I want to filter all requests to my jersey servlet so I do this:
<filter-mapping>
<filter-name>jersey</filter-name>
<url-pattern>*</url-pattern>
</filter-mapping>
Unfortunatly, this has the side-effect of catching the dev console (http://localhost:8888/_ah/admin)
Is there a way I can exclude paths matching “/_ah/*” from the filter?
Or perhaps a better way to achieve the same thing?
Thanks to the suggestion by @adarshr I started to look into extending the Jersey filter servlet so that I could skip certain paths. It was then I realised that it already supports paths to ignore as an init param.
(I was already even using it after pasting in the code from somewhere without reading it!)