Class FileTypeHandlerConfiguration.CacheControlConfiguration

  • Enclosing class:
    FileTypeHandlerConfiguration

    @ConfigurationProperties("cache-control")
    @Deprecated
    public static class FileTypeHandlerConfiguration.CacheControlConfiguration
    extends java.lang.Object
    Deprecated.
    Configuration for the Cache-Control header.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean getPublic()
      Deprecated.
       
      void setPublic​(boolean publicCache)
      Deprecated.
      Sets whether the cache control is public.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CacheControlConfiguration

        public CacheControlConfiguration()
        Deprecated.
    • Method Detail

      • setPublic

        public void setPublic​(boolean publicCache)
        Deprecated.
        Sets whether the cache control is public. Default value (false)
        Parameters:
        publicCache - Public cache value
      • getPublic

        @NonNull
        public boolean getPublic()
        Deprecated.
        Returns:
        True if the cache control should be public