private void initCachingHttpHeadersFilter(ServletContext servletContext,EnumSet<DispatcherType> disps){
  log.debug("Registering Caching HTTP Headers Filter");
  FilterRegistration.Dynamic cachingHttpHeadersFilter=servletContext.addFilter("cachingHttpHeadersFilter",new CachingHttpHeadersFilter(jHipsterProperties));
  cachingHttpHeadersFilter.addMappingForUrlPatterns(disps,true,"/content/*");
  cachingHttpHeadersFilter.addMappingForUrlPatterns(disps,true,"/app/*");
  cachingHttpHeadersFilter.setAsyncSupported(true);
}

private void initCachingHttpHeadersFilter ( ServletContext servletContext , EnumSet < DispatcherType > disps ) { log . debug ( "Registering Caching HTTP Headers Filter" ) ; FilterRegistration . Dynamic cachingHttpHeadersFilter = servletContext . addFilter ( "cachingHttpHeadersFilter" , new CachingHttpHeadersFilter ( jHipsterProperties ) ) ; cachingHttpHeadersFilter . addMappingForUrlPatterns ( disps , true , "/content/*" ) ; cachingHttpHeadersFilter . addMappingForUrlPatterns ( disps , true , "/app/*" ) ; cachingHttpHeadersFilter . setAsyncSupported ( true ) ; }
initializes the caching http headers filter .
