org.jboss.resteasy.plugins.cache.server

## Class InfinispanCache.CacheEntry

- java.lang.Object
- - org.jboss.resteasy.plugins.cache.server.InfinispanCache.CacheEntry

- All Implemented Interfaces:
    ServerCache.Entry
  Enclosing class:
    InfinispanCache

      public static class InfinispanCache.CacheEntry
      extends Object
      implements ServerCache.Entry

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `getCached()`
    `String` | `getEtag()`
    `int` | `getExpirationInSeconds()`
    `MultivaluedMap<String,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 String getEtag()

      Specified by:
        `getEtag` in interface `ServerCache.Entry`

    - #### getHeaders

          public MultivaluedMap<String,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 © 2014. All Rights Reserved.