Uses of Class
org.restlet.data.CacheDirective
Packages that use CacheDirective
Package
Description
Core classes of the Restlet API.
Information exchanged by components.
Adapters between low-level HTTP calls and high-level Restlet Request and
Response objects.
Supports HTTP header parsing and formatting.
Client and server resource classes.
-
Uses of CacheDirective in org.restlet
Methods in org.restlet that return types with arguments of type CacheDirectiveModifier and TypeMethodDescriptionMessage.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 CacheDirectiveModifier and TypeMethodDescriptionvoidMessage.setCacheDirectives(List<CacheDirective> cacheDirectives) Sets the cache directives. -
Uses of CacheDirective in org.restlet.data
Methods in org.restlet.data that return CacheDirectiveModifier and TypeMethodDescriptionstatic CacheDirectiveCacheDirective.maxAge(int maxAge) Creates a "max-age" directive.static CacheDirectiveCacheDirective.maxStale()Creates a "max-stale" directive.static CacheDirectiveCacheDirective.maxStale(int maxStale) Creates a "max-stale" directive.static CacheDirectiveCacheDirective.minFresh(int minFresh) Creates a "min-fresh" directive.static CacheDirectiveCacheDirective.mustRevalidate()Creates a "must-revalidate" directive.static CacheDirectiveCacheDirective.noCache()Creates a "no-cache" directive.static CacheDirectiveCreates a "no-cache" directive.static CacheDirectiveCreates a "no-cache" directive.static CacheDirectiveCacheDirective.noStore()Creates a "no-store" directive.static CacheDirectiveCacheDirective.noTransform()Creates a "no-transform" directive.static CacheDirectiveCacheDirective.onlyIfCached()Creates a "onlyIfCached" directive.static CacheDirectiveCacheDirective.privateInfo()Creates a "private" directive.static CacheDirectiveCacheDirective.privateInfo(String fieldName) Creates a "private" directive.static CacheDirectiveCacheDirective.privateInfo(List<String> fieldNames) Creates a "private" directive.static CacheDirectiveCacheDirective.proxyMustRevalidate()Creates a "proxy-revalidate" directive.static CacheDirectiveCacheDirective.publicInfo()Creates a "public" directive.static CacheDirectiveCacheDirective.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 -
Uses of CacheDirective in org.restlet.engine.header
Methods in org.restlet.engine.header that return CacheDirectiveMethods in org.restlet.engine.header with parameters of type CacheDirectiveMethod parameters in org.restlet.engine.header with type arguments of type CacheDirectiveModifier and TypeMethodDescriptionstatic voidCacheDirectiveReader.addValues(Header header, Collection<CacheDirective> collection) Adds values to the given collection.static StringCacheDirectiveWriter.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 CacheDirectiveModifier and TypeMethodDescriptionResource.getRequestCacheDirectives()Returns the request cache directives.Resource.getResponseCacheDirectives()Returns the response cache directives.