## Uses of Class
org.restlet.data.CacheDirective

Packages that use CacheDirective
Package | Description
--- | ---
org.restlet | Core classes of the API.
org.restlet.data | Information exchanged by components.
org.restlet.engine.http | Supports HTTP connectors.
org.restlet.engine.http.connector | New advanced internal HTTP connector.
org.restlet.engine.http.header | Supports HTTP header parsing and formatting.

### Uses of CacheDirective in org.restlet

Methods in org.restlet that return types with arguments of type CacheDirective
Modifier and Type | Method and Description
--- | ---
`java.util.List<CacheDirective>` | Message.`getCacheDirectives()` Returns the cache directives. Note that when used with HTTP connectors, this property maps to the "Cache-Control" header.

Method parameters in org.restlet with type arguments of type CacheDirective
Modifier and Type | Method and Description
--- | ---
`void` | Message.`setCacheDirectives(java.util.List<CacheDirective> cacheDirectives)` Sets the cache directives.

### Uses of CacheDirective in org.restlet.data

Methods in org.restlet.data that return CacheDirective
Modifier and Type | Method and Description
--- | ---
`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(java.util.List<java.lang.String> fieldNames)` Creates a "no-cache" directive.
`static CacheDirective` | CacheDirective.`noCache(java.lang.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(java.util.List<java.lang.String> fieldNames)` Creates a "private" directive.
`static CacheDirective` | CacheDirective.`privateInfo(java.lang.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.http

Methods in org.restlet.engine.http that return types with arguments of type CacheDirective
Modifier and Type | Method and Description
--- | ---
`java.util.List<CacheDirective>` | HttpRequest.`getCacheDirectives()`

### Uses of CacheDirective in org.restlet.engine.http.connector

Methods in org.restlet.engine.http.connector that return types with arguments of type CacheDirective
Modifier and Type | Method and Description
--- | ---
`java.util.List<CacheDirective>` | ConnectedRequest.`getCacheDirectives()`

### Uses of CacheDirective in org.restlet.engine.http.header

Methods in org.restlet.engine.http.header that return CacheDirective
Modifier and Type | Method and Description
--- | ---
`CacheDirective` | CacheDirectiveReader.`readValue()`

Methods in org.restlet.engine.http.header with parameters of type CacheDirective
Modifier and Type | Method and Description
--- | ---
`CacheDirectiveWriter` | CacheDirectiveWriter.`append(CacheDirective directive)`

Method parameters in org.restlet.engine.http.header with type arguments of type CacheDirective
Modifier and Type | Method and Description
--- | ---
`static void` | CacheDirectiveReader.`addValues(Parameter header, java.util.Collection<CacheDirective> collection)` Adds values to the given collection.
`static java.lang.String` | CacheDirectiveWriter.`write(java.util.List<CacheDirective> directives)` Writes a list of cache directives with a comma separator.