Class SimpleCache.Entry
java.lang.Object
net.targetr.wtm3.net.http.proxy.cache.SimpleCache.Entry
- Enclosing class:
SimpleCache
Represents a cached response entry.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongThe expiration time of this entry in milliseconds since epoch.longThe last access time of this entry in milliseconds since epoch.byte[]The body of the HTTP response.The HTTP headers from the response.The URL that was requested. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
lastAccess
public volatile long lastAccessThe last access time of this entry in milliseconds since epoch. -
expiry
public volatile long expiryThe expiration time of this entry in milliseconds since epoch. -
url
The URL that was requested. -
responseHeaders
The HTTP headers from the response. -
responseBody
public byte[] responseBodyThe body of the HTTP response.
-
-
Constructor Details
-
Entry
public Entry()Creates a new, empty cache entry.
-