Class OkHttpProperties.CacheProperties

    • Constructor Detail

      • CacheProperties

        public CacheProperties()
    • Method Detail

      • isEnabled

        public boolean isEnabled()
      • getMaxSize

        public 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​(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.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object