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.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.ext.jaxrs.internal.util org.restlet.ext.nio.internal.request org.restlet.resource Client and server resource classes. -
-
Uses of CacheDirective in org.restlet
Fields in org.restlet with type parameters of type CacheDirective Modifier and Type Field Description private java.util.List<CacheDirective>Message. cacheDirectivesThe caching directives.Methods in org.restlet that return types with arguments of type CacheDirective Modifier and Type Method 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 Description voidMessage. 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 Description static 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 CacheDirectiveCacheDirective. noCache(java.lang.String fieldName)Creates a "no-cache" directive.static CacheDirectiveCacheDirective. noCache(java.util.List<java.lang.String> fieldNames)Creates 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(java.lang.String fieldName)Creates a "private" directive.static CacheDirectiveCacheDirective. privateInfo(java.util.List<java.lang.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 Modifier and Type Method Description java.util.List<CacheDirective>HttpRequest. getCacheDirectives() -
Uses of CacheDirective in org.restlet.engine.header
Methods in org.restlet.engine.header that return CacheDirective Modifier and Type Method Description CacheDirectiveCacheDirectiveReader. readValue()Methods in org.restlet.engine.header with parameters of type CacheDirective Modifier and Type Method Description CacheDirectiveWriterCacheDirectiveWriter. append(CacheDirective directive)Method parameters in org.restlet.engine.header with type arguments of type CacheDirective Modifier and Type Method Description static voidCacheDirectiveReader. addValues(Header header, java.util.Collection<CacheDirective> collection)Adds values to the given collection.static java.lang.StringCacheDirectiveWriter. write(java.util.List<CacheDirective> directives)Writes a list of cache directives with a comma separator. -
Uses of CacheDirective in org.restlet.ext.jaxrs.internal.util
Methods in org.restlet.ext.jaxrs.internal.util that return types with arguments of type CacheDirective Modifier and Type Method Description static java.util.List<CacheDirective>Converter. toRestletCacheDirective(javax.ws.rs.core.CacheControl cacheControl)Deprecated.Method parameters in org.restlet.ext.jaxrs.internal.util with type arguments of type CacheDirective Modifier and Type Method Description static javax.ws.rs.core.CacheControlConverter. toJaxRsCacheControl(java.util.List<CacheDirective> cacheDirectives)Deprecated. -
Uses of CacheDirective in org.restlet.ext.nio.internal.request
Methods in org.restlet.ext.nio.internal.request that return types with arguments of type CacheDirective Modifier and Type Method Description java.util.List<CacheDirective>HttpInboundRequest. getCacheDirectives()Deprecated. -
Uses of CacheDirective in org.restlet.resource
Methods in org.restlet.resource that return types with arguments of type CacheDirective Modifier and Type Method Description java.util.List<CacheDirective>Resource. getRequestCacheDirectives()Returns the request cache directives.java.util.List<CacheDirective>Resource. getResponseCacheDirectives()Returns the response cache directives.
-