Class CustomPerformanceFilter

  • All Implemented Interfaces:
    Filter

    public class CustomPerformanceFilter
    extends org.apache.click.extras.filter.PerformanceFilter
    Provides a custom Click Performance Filter which sets additional XSS protection HTTP Headers.
    Since:
    4.3.1
    • Field Summary

      • Fields inherited from class org.apache.click.extras.filter.PerformanceFilter

        applicationVersionIndicator, cacheMaxAge, compressionEnabled, compressionThreshold, configService, configured, DEFAULT_CACHE_MAX_AGE, excludeDirs, excludeFiles, filterConfig, FOREVER_CACHE_MAX_AGE, includeDirs, includeFiles, MIN_COMPRESSION_THRESHOLD
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doFilter​(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain chain)
      Perform the filter operation applying any necessary Expire headers and compressing the response content.
      • Methods inherited from class org.apache.click.extras.filter.PerformanceFilter

        destroy, getApplicationResourceVersionIndicator, getConfigService, getFilterConfig, getResourceVersionIndicator, init, isExcludePath, loadConfiguration, setFilterConfig, setHeaderExpiresCache, stripResourceVersionIndicator, useConfiguredCacheHeader, useForeverCacheHeader, useGzipCompression