Package io.freefair.spring.okhttp
Class OkHttpProperties.CacheProperties
java.lang.Object
io.freefair.spring.okhttp.OkHttpProperties.CacheProperties
- Enclosing class:
- OkHttpProperties
- See Also:
-
Cache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The path of the directory where the cache should be stored.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
(DataSize maxSize) The maximum number of bytes this cache should use to store.toString()
-
Constructor Details
-
CacheProperties
public CacheProperties()
-
-
Method Details
-
isEnabled
public boolean 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
public void setEnabled(boolean enabled) -
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
public int hashCode() -
toString
-