Example usage for Java android.net.http HttpResponseCache fields, constructors, methods, implement or subclass
The text is from its open source code.
void | delete() Uninstalls the cache and deletes all of its stored contents. |
void | flush() Force buffered operations to the filesystem. |
HttpResponseCache | getInstalled() Returns the currently-installed HttpResponseCache , or null if there is no cache installed or it is not a HttpResponseCache . |
HttpResponseCache | install(File directory, long maxSize) Creates a new HTTP response cache and sets it as the system default cache. |
long | size() Returns the number of bytes currently being used to store the values in this cache. |