Class CacheControlImpl

java.lang.Object
org.gatein.pc.portlet.impl.jsr168.api.CacheControlImpl
All Implemented Interfaces:
javax.portlet.CacheControl

public class CacheControlImpl extends Object implements javax.portlet.CacheControl
  • Constructor Details

    • CacheControlImpl

      public CacheControlImpl(int expirationSecs, org.gatein.pc.api.cache.CacheScope cacheScope)
  • Method Details

    • getExpirationTime

      public int getExpirationTime()
      Specified by:
      getExpirationTime in interface javax.portlet.CacheControl
    • setExpirationTime

      public void setExpirationTime(int expirationTime)
      Specified by:
      setExpirationTime in interface javax.portlet.CacheControl
    • isPublicScope

      public boolean isPublicScope()
      Specified by:
      isPublicScope in interface javax.portlet.CacheControl
    • setPublicScope

      public void setPublicScope(boolean publicScope)
      Specified by:
      setPublicScope in interface javax.portlet.CacheControl
    • getETag

      public String getETag()
      Specified by:
      getETag in interface javax.portlet.CacheControl
    • setETag

      public void setETag(String etag)
      Specified by:
      setETag in interface javax.portlet.CacheControl
    • useCachedContent

      public boolean useCachedContent()
      Specified by:
      useCachedContent in interface javax.portlet.CacheControl
    • setUseCachedContent

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