edu.wisc.my.webproxy.beans.cache
Class CacheEntry

java.lang.Object
  extended by edu.wisc.my.webproxy.beans.cache.CacheEntry
All Implemented Interfaces:
Serializable

public class CacheEntry
extends Object
implements Serializable

Represents the rendered content of a page. The content type of the request and a String of the content are stored which allow the content to be replayed to the user.

Version:
$Revision: 20993 $
Author:
Eric Dalquist edalquist@unicon.net
See Also:
Serialized Form

Constructor Summary
CacheEntry()
           
 
Method Summary
 String getContent()
           
 String getContentType()
           
 Date getExpirationDate()
           
 void setContent(String content)
           
 void setContentType(String contentType)
           
 void setExpirationDate(Date expirationDate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheEntry

public CacheEntry()
Method Detail

getContent

public String getContent()
Returns:
Returns the content.

getContentType

public String getContentType()
Returns:
Returns the contentType.

getExpirationDate

public Date getExpirationDate()
Returns:
Returns the expirationDate

setContent

public void setContent(String content)
Parameters:
content - The content to set.

setContentType

public void setContentType(String contentType)
Parameters:
contentType - The contentType to set.

setExpirationDate

public void setExpirationDate(Date expirationDate)
Parameters:
expirationDate - The expirationDate to set.


Copyright © 2010 Jasig. All Rights Reserved.