Liferay 6.2-ce-ga5

com.liferay.portlet
Class CacheControlImpl

java.lang.Object
  extended by com.liferay.portlet.CacheControlImpl
All Implemented Interfaces:
CacheControl

public class CacheControlImpl
extends Object
implements CacheControl


Constructor Summary
CacheControlImpl(String eTag, int expirationTime, boolean publicScope, boolean useCachedContent, MimeResponseImpl mimeResponseImpl)
           
 
Method Summary
 String getETag()
           
 int getExpirationTime()
           
 boolean isPublicScope()
           
 void setETag(String eTag)
           
 void setExpirationTime(int expirationTime)
           
 void setPublicScope(boolean publicScope)
           
 void setUseCachedContent(boolean useCachedContent)
           
 boolean useCachedContent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheControlImpl

public CacheControlImpl(String eTag,
                        int expirationTime,
                        boolean publicScope,
                        boolean useCachedContent,
                        MimeResponseImpl mimeResponseImpl)
Method Detail

getETag

public String getETag()
Specified by:
getETag in interface CacheControl

getExpirationTime

public int getExpirationTime()
Specified by:
getExpirationTime in interface CacheControl

isPublicScope

public boolean isPublicScope()
Specified by:
isPublicScope in interface CacheControl

setETag

public void setETag(String eTag)
Specified by:
setETag in interface CacheControl

setExpirationTime

public void setExpirationTime(int expirationTime)
Specified by:
setExpirationTime in interface CacheControl

setPublicScope

public void setPublicScope(boolean publicScope)
Specified by:
setPublicScope in interface CacheControl

setUseCachedContent

public void setUseCachedContent(boolean useCachedContent)
Specified by:
setUseCachedContent in interface CacheControl

useCachedContent

public boolean useCachedContent()
Specified by:
useCachedContent in interface CacheControl

Liferay 6.2-ce-ga5