Uses of Class
com.helger.http.cache.CacheControlBuilder
Packages that use CacheControlBuilder
-
Uses of CacheControlBuilder in com.helger.http.cache
Methods in com.helger.http.cache that return CacheControlBuilderModifier and TypeMethodDescription@NonNull CacheControlBuilderCacheControlBuilder.addExtension(@NonNull @Nonempty String sExtension) Add a custom cache-control extension directive.@NonNull CacheControlBuilderCacheControlBuilder.getClone()@NonNull CacheControlBuilderSet the maximum age relative to the request time@NonNull CacheControlBuilderCacheControlBuilder.setMaxAgeDays(long nDays) Set the maximum age in days relative to the request time@NonNull CacheControlBuilderCacheControlBuilder.setMaxAgeHours(long nHours) Set the maximum age in hours relative to the request time@NonNull CacheControlBuilderCacheControlBuilder.setMaxAgeMinutes(long nMinutes) Set the maximum age in minutes relative to the request time@NonNull CacheControlBuilderCacheControlBuilder.setMaxAgeSeconds(long nSeconds) Set the maximum age in seconds relative to the request time.@NonNull CacheControlBuilderCacheControlBuilder.setMustRevalidate(boolean bMustRevalidate) Set the must-revalidate value.@NonNull CacheControlBuilderCacheControlBuilder.setNoCache(boolean bNoCache) Set the no-cache value.@NonNull CacheControlBuilderCacheControlBuilder.setNoStore(boolean bNoStore) Set the no-store value.@NonNull CacheControlBuilderCacheControlBuilder.setNoTransform(boolean bNoTransform) Set the no-transform value.@NonNull CacheControlBuilderCacheControlBuilder.setPrivate(boolean bPrivate) Set the private value. allows caches that are specific to one user (e.g., in a browser) to store the response; shared caches (e.g., in a proxy) may not.@NonNull CacheControlBuilderCacheControlBuilder.setProxyRevalidate(boolean bProxyRevalidate) Set the proxy-revalidate value.@NonNull CacheControlBuilderCacheControlBuilder.setPublic(boolean bPublic) Set the public value. marks authenticated responses as cacheable; normally, if HTTP authentication is required, responses are automatically private.@NonNull CacheControlBuilderCacheControlBuilder.setSharedMaxAge(@NonNull TimeUnit eTimeUnit, long nDuration) Set the maximum age for shared caches relative to the request time.@NonNull CacheControlBuilderCacheControlBuilder.setSharedMaxAgeDays(long nDays) Set the maximum age for shared caches in days relative to the request time.@NonNull CacheControlBuilderCacheControlBuilder.setSharedMaxAgeHours(long nHours) Set the maximum age for shared caches in hours relative to the request time.@NonNull CacheControlBuilderCacheControlBuilder.setSharedMaxAgeMinutes(long nMinutes) Set the maximum age for shared caches in minutes relative to the request time.@NonNull CacheControlBuilderCacheControlBuilder.setSharedMaxAgeSeconds(long nSeconds) Set the maximum age for shared caches in seconds relative to the request time.Constructors in com.helger.http.cache with parameters of type CacheControlBuilderModifierConstructorDescriptionCacheControlBuilder(@NonNull CacheControlBuilder aBase) Copy constructor