|
uPortal 2.3.2 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.channels.wsrp.MarkupWrapper
A wrapper for portlet markup that gets placed into a markup cache and keeps track of the time the markup was cached and when the markup expires.
Constructor Summary | |
MarkupWrapper(java.lang.String markup,
CacheControl cacheControl)
Constructs a MarkupWrapper. |
Method Summary | |
CacheControl |
getCacheControl()
|
long |
getCacheTime()
|
java.lang.String |
getMarkup()
|
boolean |
hasExpired()
Reveals whether or not this markup has been cached longer than its expiration time. |
void |
setCacheControl(CacheControl cacheControl)
|
void |
setCacheTime(long cacheTime)
|
void |
setMarkup(java.lang.String markup)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MarkupWrapper(java.lang.String markup, CacheControl cacheControl)
markup
- the portlet markup to cachecacheControl
- the cache control structureMethod Detail |
public long getCacheTime()
public CacheControl getCacheControl()
public java.lang.String getMarkup()
public void setCacheTime(long cacheTime)
public void setCacheControl(CacheControl cacheControl)
public void setMarkup(java.lang.String markup)
public boolean hasExpired()
true
if the markup has expired, otherwise false
|
uPortal 2.3.2 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |