Class CacheControlImpl

Object
com.liferay.portlet.internal.CacheControlImpl
All Implemented Interfaces:
jakarta.portlet.CacheControl

public class CacheControlImpl extends Object implements jakarta.portlet.CacheControl
Author:
Brian Wing Shun Chan, Deepak Gothe
  • Constructor Details

    • CacheControlImpl

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

    • getETag

      public String getETag()
      Specified by:
      getETag in interface jakarta.portlet.CacheControl
    • getExpirationTime

      public int getExpirationTime()
      Specified by:
      getExpirationTime in interface jakarta.portlet.CacheControl
    • isPublicScope

      public boolean isPublicScope()
      Specified by:
      isPublicScope in interface jakarta.portlet.CacheControl
    • setETag

      public void setETag(String eTag)
      Specified by:
      setETag in interface jakarta.portlet.CacheControl
    • setExpirationTime

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

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

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

      public boolean useCachedContent()
      Specified by:
      useCachedContent in interface jakarta.portlet.CacheControl