public class CacheControlUtil
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CacheControlUtil.CacheControlParser
Parser for the Cache-Control header
|
static class |
CacheControlUtil.Directive
Cache Control Directives
|
| Constructor and Description |
|---|
CacheControlUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
buildCacheControl(AbstractRequest request)
Construct the Cache-Control header from info in the request object
|
static boolean |
isIdempotent(java.lang.String method)
Idempotent methods are handled differently in caches than other methods
|
static void |
parseCacheControl(java.lang.String cc,
AbstractRequest request)
Parse the Cache-Control header
|
static void |
parseCacheControl(java.lang.String cc,
AbstractResponse response)
Parse the Cache-Control header
|
public static boolean isIdempotent(java.lang.String method)
public static java.lang.String buildCacheControl(AbstractRequest request)
public static void parseCacheControl(java.lang.String cc,
AbstractRequest request)
public static void parseCacheControl(java.lang.String cc,
AbstractResponse response)
Copyright © 2010 - 2020 Adobe. All Rights Reserved