clever-framework-front/src/main/java/io/github/toquery/framework/front/connfig/AppFrontConfigurer.java
private void initCachingHttpHeadersFilter(ServletContext servletContext, EnumSet<DispatcherType> dispatcherTypes) {
        log.debug("Registering Caching HTTP Headers Filter");
        FilterRegistration.Dynamic cachingHttpHeadersFilter = servletContext.addFilter("cachingHttpHeadersFilter", new CachingHttpHeadersFilter(appFrontProperties.getTimeToLiveInDays()));

        cachingHttpHeadersFilter.addMappingForUrlPatterns(dispatcherTypes, true, "/i18n/*");
        cachingHttpHeadersFilter.addMappingForUrlPatterns(dispatcherTypes, true, "/content/*");
        cachingHttpHeadersFilter.addMappingForUrlPatterns(dispatcherTypes, true, "/static/*");
        cachingHttpHeadersFilter.addMappingForUrlPatterns(dispatcherTypes, true, "/app/*");
        cachingHttpHeadersFilter.setAsyncSupported(true);
    }
/**
     * Initializes the caching HTTP Headers Filter.
     */
Initializes the caching HTTP Headers Filter.
Initializes the caching HTTP Headers Filter .
private void initCachingHttpHeadersFilter(ServletContext servletContext, EnumSet<DispatcherType> dispatcherTypes) {
        log.debug("Registering Caching HTTP Headers Filter");
        FilterRegistration.Dynamic cachingHttpHeadersFilter = servletContext.addFilter("cachingHttpHeadersFilter", new CachingHttpHeadersFilter(appFrontProperties.getTimeToLiveInDays()));
        cachingHttpHeadersFilter.addMappingForUrlPatterns(dispatcherTypes, true, "/i18n/*");
        cachingHttpHeadersFilter.addMappingForUrlPatterns(dispatcherTypes, true, "/content/*");
        cachingHttpHeadersFilter.addMappingForUrlPatterns(dispatcherTypes, true, "/static/*");
        cachingHttpHeadersFilter.addMappingForUrlPatterns(dispatcherTypes, true, "/app/*");
        cachingHttpHeadersFilter.setAsyncSupported(true);
    }
private void initCachingHttpHeadersFilter ( ServletContext servletContext , EnumSet < DispatcherType > dispatcherTypes ) { log . debug ( "Registering Caching HTTP Headers Filter" ) ; FilterRegistration . Dynamic cachingHttpHeadersFilter = servletContext . addFilter ( "cachingHttpHeadersFilter" , new CachingHttpHeadersFilter ( appFrontProperties . getTimeToLiveInDays ( ) ) ) ; cachingHttpHeadersFilter . addMappingForUrlPatterns ( dispatcherTypes , true , "/i18n/*" ) ; cachingHttpHeadersFilter . addMappingForUrlPatterns ( dispatcherTypes , true , "/content/*" ) ; cachingHttpHeadersFilter . addMappingForUrlPatterns ( dispatcherTypes , true , "/static/*" ) ; cachingHttpHeadersFilter . addMappingForUrlPatterns ( dispatcherTypes , true , "/app/*" ) ; cachingHttpHeadersFilter . setAsyncSupported ( true ) ; }
Initializes the caching HTTP Headers Filter.
Initializes the caching HTTP Headers Filter .