Class OkHttpProperties.CacheProperties

java.lang.Object
io.freefair.spring.okhttp.autoconfigure.OkHttpProperties.CacheProperties
Enclosing class:
OkHttpProperties

public static class OkHttpProperties.CacheProperties extends Object
See Also:
  • Cache
  • Constructor Details

  • Method Details

    • isEnabled

      public boolean isEnabled()
    • getMaxSize

      public org.springframework.util.unit.DataSize getMaxSize()
      The maximum number of bytes this cache should use to store.
    • getDirectory

      public File getDirectory()
      The path of the directory where the cache should be stored.
    • setEnabled

      public void setEnabled(boolean enabled)
    • setMaxSize

      public void setMaxSize(org.springframework.util.unit.DataSize maxSize)
      The maximum number of bytes this cache should use to store.
    • setDirectory

      public void setDirectory(File directory)
      The path of the directory where the cache should be stored.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object