2627282930313233343536
this.testFilter = filter; } @PostConstruct public void registerFilter(){ servletRegistry.addFilterEntry(new ServletFilterRegistryEntry() { @Override public Map<String, Integer> getUrlPatterns() { return urlPatterns; }