|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.httpcache4j.CacheControl
public class CacheControl
Experimental: do not use!
| Nested Class Summary | |
|---|---|
static class |
CacheControl.Directive
|
| Constructor Summary | |
|---|---|
CacheControl(Header header)
|
|
CacheControl(java.util.Map<CacheControl.Directive,java.lang.String> directives)
|
|
| Method Summary | |
|---|---|
int |
getMaxAge()
|
int |
getMaxStale()
|
int |
getMinFresh()
|
boolean |
isPrivate()
|
Header |
toHeader()
|
static CacheControl |
valueOf(java.lang.String headerValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheControl(java.util.Map<CacheControl.Directive,java.lang.String> directives)
public CacheControl(Header header)
| Method Detail |
|---|
public static CacheControl valueOf(java.lang.String headerValue)
public int getMaxAge()
public int getMaxStale()
public int getMinFresh()
public boolean isPrivate()
public Header toHeader()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||