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