FIlterHolder holder = contextHandler.addFilter(MyFilter.class, "/x/*",
EnumSet.of(DispatcherType.REQUEST));
holder.addMappingForUrlPatterns(EnumSet.of(DispatcherType.REQUEST),
true, "/y/*");
Hi,
thanks a lot for the hint.
I saw that tight now with the latest api you can achieve this using this code:
FilterHolder myFilter = contextHandler.addFilter(MyFilter.class,
"/x/*",EnumSet.of(DispatcherType.REQUEST));
myFilter.getRegistration().addMappingForUrlPatterns(EnumSet.of(DispatcherType.REQUEST),true,
"/y/*");
since the filder holder does not have addMappingForUrlPatterns method.
Thanks again for the help.
Andrea.
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users