Package io.freefair.spring.okhttp
Class OkHttpProperties.CacheProperties
java.lang.Object
io.freefair.spring.okhttp.OkHttpProperties.CacheProperties
- Enclosing class:
- OkHttpProperties
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe path of the directory where the cache should be stored.The 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(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
-