Package org.apache.abdera.protocol.util
Class CacheControlUtil
- java.lang.Object
-
- org.apache.abdera.protocol.util.CacheControlUtil
-
@Deprecated public class CacheControlUtil extends Object
Deprecated.Legacy AEM 6.x API.Provides parsing and properly handling of the HTTP Cache-Control header.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCacheControlUtil.CacheControlParserDeprecated.Legacy AEM 6.x API.static classCacheControlUtil.DirectiveDeprecated.Cache Control Directives
-
Constructor Summary
Constructors Constructor Description CacheControlUtil()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StringbuildCacheControl(AbstractRequest request)Deprecated.Construct the Cache-Control header from info in the request objectstatic booleanisIdempotent(String method)Deprecated.Idempotent methods are handled differently in caches than other methodsstatic voidparseCacheControl(String cc, AbstractRequest request)Deprecated.Parse the Cache-Control headerstatic voidparseCacheControl(String cc, AbstractResponse response)Deprecated.Parse the Cache-Control header
-
-
-
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
-
-