Class CacheControlUtil


  • @Deprecated
    public class CacheControlUtil
    extends Object
    Deprecated.
    Legacy AEM 6.x API.
    Provides parsing and properly handling of the HTTP Cache-Control header.
    • Constructor Detail

      • CacheControlUtil

        public CacheControlUtil()
        Deprecated.
    • Method Detail

      • isIdempotent

        public static boolean isIdempotent​(String method)
        Deprecated.
        Idempotent methods are handled differently in caches than other methods
      • buildCacheControl

        public static String buildCacheControl​(AbstractRequest request)
        Deprecated.
        Construct the Cache-Control header from info in the request object
      • parseCacheControl

        public static void parseCacheControl​(String cc,
                                             AbstractRequest request)
        Deprecated.
        Parse the Cache-Control header
      • parseCacheControl

        public static void parseCacheControl​(String cc,
                                             AbstractResponse response)
        Deprecated.
        Parse the Cache-Control header