Class OkHttpProperties.CacheProperties
java.lang.Object
io.freefair.spring.okhttp.autoconfigure.OkHttpProperties.CacheProperties
- Enclosing class:
- OkHttpProperties
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
CachePropertiespublic CacheProperties()
 
- 
- 
Method Details- 
isEnabled
- 
getMaxSizeThe maximum number of bytes this cache should use to store.
- 
getDirectoryThe path of the directory where the cache should be stored.
- 
setEnabled
- 
setMaxSizeThe maximum number of bytes this cache should use to store.
- 
setDirectoryThe path of the directory where the cache should be stored.
- 
equals
- 
canEqual
- 
hashCode
- 
toString
 
-