Package io.freefair.spring.okhttp
Class OkHttpProperties.Cache
- java.lang.Object
-
- io.freefair.spring.okhttp.OkHttpProperties.Cache
-
- Enclosing class:
- OkHttpProperties
public static class OkHttpProperties.Cache extends Object
- See Also:
Cache
-
-
Constructor Summary
Constructors Constructor Description Cache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
File
getDirectory()
The path of the directory where the cache should be stored.org.springframework.util.unit.DataSize
getMaxSize()
The maximum number of bytes this cache should use to store.int
hashCode()
boolean
isEnabled()
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.String
toString()
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
getMaxSize
public org.springframework.util.unit.DataSize getMaxSize()
The maximum number of bytes this cache should use to store.
-
getDirectory
public File getDirectory()
The path of the directory where the cache should be stored.
-
setEnabled
public void setEnabled(boolean enabled)
-
setMaxSize
public void setMaxSize(org.springframework.util.unit.DataSize maxSize)
The maximum number of bytes this cache should use to store.
-
setDirectory
public void setDirectory(File directory)
The path of the directory where the cache should be stored.
-
canEqual
protected boolean canEqual(Object other)
-
-