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

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

public static class SimpleServerCache.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()
           
 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


Copyright © 2010. All Rights Reserved.