Class CacheDirective

java.lang.Object
org.alfresco.rest.framework.resource.content.CacheDirective

public class CacheDirective extends Object
An immutable builder for setting the HTTP cache.
Author:
Jamal Kaabi-Mofrad
  • Method Details

    • isNeverCache

      public boolean isNeverCache()
    • isPublic

      public boolean isPublic()
    • isMustRevalidate

      public boolean isMustRevalidate()
    • getLastModified

      public Date getLastModified()
    • getETag

      public String getETag()
    • getMaxAge

      public Long getMaxAge()