info.sswap.api.servlet
Class ContentCache.Entry

java.lang.Object
  extended by info.sswap.api.servlet.ContentCache.Entry
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ContentCache

static class ContentCache.Entry
extends java.lang.Object
implements java.io.Serializable

An entry of the cache. It implements Serializable so that EHCache can persist it to disk.


Field Summary
private  byte[] content
           
private  java.lang.String contentType
           
private static long serialVersionUID
           
 
Constructor Summary
ContentCache.Entry()
           
 
Method Summary
 byte[] getContent()
           
 java.lang.String getContentType()
           
 void setContent(byte[] content)
           
 void setContentType(java.lang.String contentType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

content

private byte[] content

contentType

private java.lang.String contentType
Constructor Detail

ContentCache.Entry

ContentCache.Entry()
Method Detail

getContent

public byte[] getContent()

setContent

public void setContent(byte[] content)

getContentType

public java.lang.String getContentType()

setContentType

public void setContentType(java.lang.String contentType)


Copyright (c) 2011, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.