- directory
- the directory to hold cache data.
- maxSize
- the maximum size of the cache in bytes.
Documentation for this section has not yet been entered.
Type Reason Java.IO.IOException if directory cannot be used for this cache. Most applications should respond to this exception by logging a warning.
Creates a new HTTP response cache and Java.Net.ResponseCache.Default as the system default cache.