Class OkHttpProperties.CacheProperties
java.lang.Object
io.freefair.spring.okhttp.autoconfigure.OkHttpProperties.CacheProperties
- Enclosing class:
- OkHttpProperties
- See Also:
-
Cache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe path of the directory where the cache should be stored.org.springframework.util.unit.DataSizeThe maximum number of bytes this cache should use to store.inthashCode()booleanvoidsetDirectory(File directory) The path of the directory where the cache should be stored.voidsetEnabled(boolean enabled) voidsetMaxSize(org.springframework.util.unit.DataSize maxSize) The maximum number of bytes this cache should use to store.toString()
-
Constructor Details
-
CacheProperties
public CacheProperties()
-
-
Method Details
-
isEnabled
-
getMaxSize
The maximum number of bytes this cache should use to store. -
getDirectory
The path of the directory where the cache should be stored. -
setEnabled
-
setMaxSize
The maximum number of bytes this cache should use to store. -
setDirectory
The path of the directory where the cache should be stored. -
equals
-
canEqual
-
hashCode
-
toString
-