|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.abdera.protocol.util.CacheControlUtil
public class CacheControlUtil
Provides parsing and properly handling of the HTTP Cache-Control header.
| Nested Class Summary | |
|---|---|
static class |
CacheControlUtil.CacheControlParser
Parser for the Cache-Control header |
static class |
CacheControlUtil.Directive
Cache Control Directives |
| Constructor Summary | |
|---|---|
CacheControlUtil()
|
|
| Method Summary | |
|---|---|
static String |
buildCacheControl(AbstractRequest request)
Construct the Cache-Control header from info in the request object |
static boolean |
isIdempotent(String method)
Idempotent methods are handled differently in caches than other methods |
static void |
parseCacheControl(String cc,
AbstractRequest request)
Parse the Cache-Control header |
static void |
parseCacheControl(String cc,
AbstractResponse response)
Parse the Cache-Control header |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheControlUtil()
| Method Detail |
|---|
public static boolean isIdempotent(String method)
public static String buildCacheControl(AbstractRequest request)
public static void parseCacheControl(String cc,
AbstractRequest request)
public static void parseCacheControl(String cc,
AbstractResponse response)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||