org.jboss.resteasy.client.cache
Class CacheEntry
java.lang.Object
org.jboss.resteasy.client.cache.CacheEntry
- All Implemented Interfaces:
- java.io.Serializable, BrowserCache.Entry
public class CacheEntry
- extends java.lang.Object
- implements BrowserCache.Entry, java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
CacheEntry(java.lang.String key,
MultivaluedMap<java.lang.String,java.lang.String> headers,
byte[] cached,
int expires,
java.lang.String etag,
java.lang.String lastModified,
MediaType mediaType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheEntry
public CacheEntry(java.lang.String key,
MultivaluedMap<java.lang.String,java.lang.String> headers,
byte[] cached,
int expires,
java.lang.String etag,
java.lang.String lastModified,
MediaType mediaType)
getKey
public java.lang.String getKey()
getHeaders
public MultivaluedMap<java.lang.String,java.lang.String> getHeaders()
- Specified by:
getHeaders
in interface BrowserCache.Entry
expired
public boolean expired()
- Specified by:
expired
in interface BrowserCache.Entry
getValidationHeaders
public BrowserCache.Header[] getValidationHeaders()
- Specified by:
getValidationHeaders
in interface BrowserCache.Entry
getCached
public byte[] getCached()
- Specified by:
getCached
in interface BrowserCache.Entry
getMediaType
public MediaType getMediaType()
- Specified by:
getMediaType
in interface BrowserCache.Entry
addExtendedProperty
public void addExtendedProperty(java.io.Serializable key,
java.io.Serializable value)
getExtendedProperty
public java.lang.Object getExtendedProperty(java.io.Serializable key)
Copyright © 2010. All Rights Reserved.