Class JarCacheResource

java.lang.Object
com.github.jsonldjava.utils.JarCacheResource
All Implemented Interfaces:
Serializable, org.apache.http.client.cache.Resource

public class JarCacheResource extends Object implements org.apache.http.client.cache.Resource
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • log

      private final org.slf4j.Logger log
    • connection

      private final URLConnection connection
  • Constructor Details

  • Method Details

    • length

      public long length()
      Specified by:
      length in interface org.apache.http.client.cache.Resource
    • getInputStream

      public InputStream getInputStream() throws IOException
      Specified by:
      getInputStream in interface org.apache.http.client.cache.Resource
      Throws:
      IOException
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.apache.http.client.cache.Resource