Package io.freefair.spring.okhttp
Class OkHttpProperties.CacheProperties
- java.lang.Object
- 
- io.freefair.spring.okhttp.OkHttpProperties.CacheProperties
 
- 
- Enclosing class:
- OkHttpProperties
 
 public static class OkHttpProperties.CacheProperties extends Object - See Also:
- Cache
 
- 
- 
Constructor SummaryConstructors Constructor Description CacheProperties()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)FilegetDirectory()The path of the directory where the cache should be stored.org.springframework.util.unit.DataSizegetMaxSize()The maximum number of bytes this cache should use to store.inthashCode()booleanisEnabled()voidsetDirectory(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.StringtoString()
 
- 
- 
- 
Method Detail- 
isEnabledpublic boolean isEnabled() 
 - 
getMaxSizepublic org.springframework.util.unit.DataSize getMaxSize() The maximum number of bytes this cache should use to store.
 - 
getDirectorypublic File getDirectory() The path of the directory where the cache should be stored.
 - 
setEnabledpublic void setEnabled(boolean enabled) 
 - 
setMaxSizepublic void setMaxSize(org.springframework.util.unit.DataSize maxSize) The maximum number of bytes this cache should use to store.
 - 
setDirectorypublic void setDirectory(File directory) The path of the directory where the cache should be stored.
 - 
canEqualprotected boolean canEqual(Object other) 
 
- 
 
-