Uses of Class
org.microproxy.cache.HttpCache.Builder
Packages that use HttpCache.Builder
-
Uses of HttpCache.Builder in org.microproxy.cache
Methods in org.microproxy.cache that return HttpCache.BuilderModifier and TypeMethodDescriptionstatic HttpCache.BuilderHttpCache.builder()Starts a builder with the default settings.The clock for ages and freshness (for tests).The heuristic lifetime: this fraction of the time sinceLast-Modified, at mostmax.HttpCache.Builder.maxEntrySize(int bytes) The largest response body stored (default 8 MiB); larger ones stream past.The cache's name inCache-Status(default "MicroProxy").HttpCache.Builder.offline(boolean offline) Answer only from the cache, never contacting servers (default false).HttpCache.Builder.serveStaleOnError(boolean serveStaleOnError) Serve stale entries when servers cannot be reached (default true).HttpCache.Builder.shared(boolean shared) Whether the rules for shared caches apply (default true).HttpCache.Builder.store(CacheStore store) Where responses are kept (default: 64 MiB in memory).