Class SimpleCache.Entry

java.lang.Object
net.targetr.wtm3.net.http.proxy.cache.SimpleCache.Entry
Enclosing class:
SimpleCache

public static class SimpleCache.Entry extends Object
Represents a cached response entry.
  • Field Details

    • lastAccess

      public volatile long lastAccess
      The last access time of this entry in milliseconds since epoch.
    • expiry

      public volatile long expiry
      The expiration time of this entry in milliseconds since epoch.
    • url

      public String url
      The URL that was requested.
    • responseHeaders

      public Headers responseHeaders
      The HTTP headers from the response.
    • responseBody

      public byte[] responseBody
      The body of the HTTP response.
  • Constructor Details

    • Entry

      public Entry()
      Creates a new, empty cache entry.