public static class OkHttpProperties.CacheProperties extends Object
Cache| Constructor and Description | 
|---|
| CacheProperties() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | canEqual(Object other) | 
| boolean | equals(Object o) | 
| File | getDirectory()The path of the directory where the cache should be stored. | 
| 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(DataSize maxSize)The maximum number of bytes this cache should use to store. | 
| String | toString() | 
public CacheProperties()
public boolean isEnabled()
public DataSize getMaxSize()
public File getDirectory()
public void setEnabled(boolean enabled)
public void setMaxSize(DataSize maxSize)
public void setDirectory(File directory)