Package org.jxmapviewer.viewer
Class LocalResponseCache
java.lang.Object
java.net.ResponseCache
org.jxmapviewer.viewer.LocalResponseCache
@Deprecated
public class LocalResponseCache
extends java.net.ResponseCache
Deprecated.
-
Method Summary
Modifier and Type Method Description java.net.CacheResponseget(java.net.URI uri, java.lang.String rqstMethod, java.util.Map<java.lang.String,java.util.List<java.lang.String>> rqstHeaders)Deprecated.static voidinstallResponseCache(java.lang.String baseURL, java.io.File cacheDir, boolean checkForUpdates)Deprecated.UseTileFactory.setLocalCache(LocalCache)insteadjava.net.CacheRequestput(java.net.URI uri, java.net.URLConnection conn)Deprecated.
-
Method Details
-
installResponseCache
@Deprecated public static void installResponseCache(java.lang.String baseURL, java.io.File cacheDir, boolean checkForUpdates)Deprecated.UseTileFactory.setLocalCache(LocalCache)insteadSets this cache as default response cache- Parameters:
baseURL- the URL, the caching should be restricted to ornullfor nonecacheDir- the cache directorycheckForUpdates- true if the URL is queried for newer versions of a file first
-
get
public java.net.CacheResponse get(java.net.URI uri, java.lang.String rqstMethod, java.util.Map<java.lang.String,java.util.List<java.lang.String>> rqstHeaders) throws java.io.IOExceptionDeprecated.- Specified by:
getin classjava.net.ResponseCache- Throws:
java.io.IOException
-
put
public java.net.CacheRequest put(java.net.URI uri, java.net.URLConnection conn) throws java.io.IOExceptionDeprecated.- Specified by:
putin classjava.net.ResponseCache- Throws:
java.io.IOException
-