...even if they appear multiple times in the filter chain.
Reported by Rex on the mailing list:
Sorry, my fault. ServletContainer is also a filter.
My usage:
new ServletModule() {
@Override
protected void configureServlets() {
Map<String, String> initParams = Maps.newHashMap();
initParams.put("com.sun.jersey.config.property.packages",
Home.class.getPackage().getName());
filterRegex("/(home|logout|login.*)").through(JerseyFilter.class, initParams);
}
},
If I announce filterRegex("/home", "/logout", "/login.*"), the @Singleton
JerseyFilter will initiate() 3
times. It this normal?
Thanks,
Rex
Original issue reported on code.google.com by dha...@gmail.com on 14 Feb 2009 at 9:07
Original issue reported on code.google.com by
dha...@gmail.com
on 14 Feb 2009 at 9:07