org.jboss.resteasy.plugins.cache.server
Class JBossCache.CacheEntry

java.lang.Object
  extended by org.jboss.resteasy.plugins.cache.server.JBossCache.CacheEntry
All Implemented Interfaces:
ServerCache.Entry
Enclosing class:
JBossCache

public static class JBossCache.CacheEntry
extends java.lang.Object
implements ServerCache.Entry


Method Summary
 byte[] getCached()
           
 java.lang.String getEtag()
           
 int getExpirationInSeconds()
           
 MultivaluedMap<java.lang.String,java.lang.Object> getHeaders()
           
 MediaType getMediaType()
           
 boolean isExpired()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getExpirationInSeconds

public int getExpirationInSeconds()
Specified by:
getExpirationInSeconds in interface ServerCache.Entry

isExpired

public boolean isExpired()
Specified by:
isExpired in interface ServerCache.Entry

getEtag

public java.lang.String getEtag()
Specified by:
getEtag in interface ServerCache.Entry

getHeaders

public MultivaluedMap<java.lang.String,java.lang.Object> getHeaders()
Specified by:
getHeaders in interface ServerCache.Entry

getCached

public byte[] getCached()
Specified by:
getCached in interface ServerCache.Entry

getMediaType

public MediaType getMediaType()


Copyright © 2009. All Rights Reserved.