public class CacheEntry extends Object implements BrowserCache.Entry, Serializable
Constructor and Description |
---|
CacheEntry(String key,
MultivaluedMap<String,String> headers,
byte[] cached,
int expires,
String etag,
String lastModified,
MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
void |
addExtendedProperty(Serializable key,
Serializable value) |
boolean |
expired() |
byte[] |
getCached() |
Object |
getExtendedProperty(Serializable key) |
MultivaluedMap<String,String> |
getHeaders() |
String |
getKey() |
MediaType |
getMediaType() |
BrowserCache.Header[] |
getValidationHeaders() |
public String getKey()
public MultivaluedMap<String,String> getHeaders()
getHeaders
in interface BrowserCache.Entry
public boolean expired()
expired
in interface BrowserCache.Entry
public BrowserCache.Header[] getValidationHeaders()
getValidationHeaders
in interface BrowserCache.Entry
public byte[] getCached()
getCached
in interface BrowserCache.Entry
public MediaType getMediaType()
getMediaType
in interface BrowserCache.Entry
public void addExtendedProperty(Serializable key, Serializable value)
public Object getExtendedProperty(Serializable key)
Copyright © 2018 JBoss by Red Hat. All rights reserved.