|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use CacheDirective | |
|---|---|
| org.restlet.data | Information exchanged by components. |
| org.restlet.engine.adapter | Adapters between low-level HTTP calls and high-level Restlet Request and Response objects. |
| org.restlet.engine.header | Supports HTTP header parsing and formatting. |
| org.restlet.resource | Client and server resource classes. |
| Uses of CacheDirective in org.restlet.data |
|---|
| Methods in org.restlet.data that return CacheDirective | |
|---|---|
static CacheDirective |
CacheDirective.maxAge(int maxAge)
Creates a "max-age" directive. |
static CacheDirective |
CacheDirective.maxStale()
Creates a "max-stale" directive. |
static CacheDirective |
CacheDirective.maxStale(int maxStale)
Creates a "max-stale" directive. |
static CacheDirective |
CacheDirective.minFresh(int minFresh)
Creates a "min-fresh" directive. |
static CacheDirective |
CacheDirective.mustRevalidate()
Creates a "must-revalidate" directive. |
static CacheDirective |
CacheDirective.noCache()
Creates a "no-cache" directive. |
static CacheDirective |
CacheDirective.noCache(List<String> fieldNames)
Creates a "no-cache" directive. |
static CacheDirective |
CacheDirective.noCache(String fieldName)
Creates a "no-cache" directive. |
static CacheDirective |
CacheDirective.noStore()
Creates a "no-store" directive. |
static CacheDirective |
CacheDirective.noTransform()
Creates a "no-transform" directive. |
static CacheDirective |
CacheDirective.onlyIfCached()
Creates a "onlyIfCached" directive. |
static CacheDirective |
CacheDirective.privateInfo()
Creates a "private" directive. |
static CacheDirective |
CacheDirective.privateInfo(List<String> fieldNames)
Creates a "private" directive. |
static CacheDirective |
CacheDirective.privateInfo(String fieldName)
Creates a "private" directive. |
static CacheDirective |
CacheDirective.proxyMustRevalidate()
Creates a "proxy-revalidate" directive. |
static CacheDirective |
CacheDirective.publicInfo()
Creates a "public" directive. |
static CacheDirective |
CacheDirective.sharedMaxAge(int sharedMaxAge)
Creates a "s-maxage" directive. |
| Uses of CacheDirective in org.restlet.engine.adapter |
|---|
| Methods in org.restlet.engine.adapter that return types with arguments of type CacheDirective | |
|---|---|
List<CacheDirective> |
HttpRequest.getCacheDirectives()
|
| Uses of CacheDirective in org.restlet.engine.header |
|---|
| Methods in org.restlet.engine.header that return CacheDirective | |
|---|---|
CacheDirective |
CacheDirectiveReader.readValue()
|
| Methods in org.restlet.engine.header with parameters of type CacheDirective | |
|---|---|
CacheDirectiveWriter |
CacheDirectiveWriter.append(CacheDirective directive)
|
| Method parameters in org.restlet.engine.header with type arguments of type CacheDirective | |
|---|---|
static void |
CacheDirectiveReader.addValues(Header header,
Collection<CacheDirective> collection)
Adds values to the given collection. |
static String |
CacheDirectiveWriter.write(List<CacheDirective> directives)
Writes a list of cache directives with a comma separator. |
| Uses of CacheDirective in org.restlet.resource |
|---|
| Methods in org.restlet.resource that return types with arguments of type CacheDirective | |
|---|---|
List<CacheDirective> |
Resource.getRequestCacheDirectives()
Returns the request cache directives. Note that when used with HTTP connectors, this property maps to the "Cache-Control" header. |
List<CacheDirective> |
Resource.getResponseCacheDirectives()
Returns the response cache directives. Note that when used with HTTP connectors, this property maps to the "Cache-Control" header. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||