public static synchronized void setDefault (ResponseCache responseCache)

Sets (or unsets) the system-wide cache. Note: non-standard procotol handlers may ignore this setting.

Parameters:
responseCache    The response cache, or null to unset the cache.

Exceptions:
SecurityException     If a security manager has been installed and it denies NetPermission ("setResponseCache")

See also:
getDefault()

Since:  1.5