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.CacheResponse get​(java.net.URI uri, java.lang.String rqstMethod, java.util.Map<java.lang.String,​java.util.List<java.lang.String>> rqstHeaders)
    Deprecated.
     
    static void installResponseCache​(java.lang.String baseURL, java.io.File cacheDir, boolean checkForUpdates)
    Deprecated.
    java.net.CacheRequest put​(java.net.URI uri, java.net.URLConnection conn)
    Deprecated.
     

    Methods inherited from class java.net.ResponseCache

    getDefault, setDefault

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • installResponseCache

      @Deprecated public static void installResponseCache​(java.lang.String baseURL, java.io.File cacheDir, boolean checkForUpdates)
      Deprecated.
      Sets this cache as default response cache
      Parameters:
      baseURL - the URL, the caching should be restricted to or null for none
      cacheDir - the cache directory
      checkForUpdates - 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.IOException
      Deprecated.
      Specified by:
      get in class java.net.ResponseCache
      Throws:
      java.io.IOException
    • put

      public java.net.CacheRequest put​(java.net.URI uri, java.net.URLConnection conn) throws java.io.IOException
      Deprecated.
      Specified by:
      put in class java.net.ResponseCache
      Throws:
      java.io.IOException