Class OkHttpProperties.CacheProperties
java.lang.Object
io.freefair.spring.okhttp.autoconfigure.OkHttpProperties.CacheProperties
- Enclosing class:
- OkHttpProperties
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The path of the directory where the cache should be stored.org.springframework.util.unit.DataSize
The maximum number of bytes this cache should use to store.int
hashCode()
boolean
void
setDirectory
(File directory) The path of the directory where the cache should be stored.void
setEnabled
(boolean enabled) void
setMaxSize
(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
-