Class ResponseCacheControl.Builder

java.lang.Object
org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
Enclosing class:
ResponseCacheControl

public static class ResponseCacheControl.Builder extends Object
Since:
5.4
  • Field Details

    • maxAge

      private long maxAge
    • sharedMaxAge

      private long sharedMaxAge
    • noCache

      private boolean noCache
    • noStore

      private boolean noStore
    • cachePrivate

      private boolean cachePrivate
    • mustRevalidate

      private boolean mustRevalidate
    • proxyRevalidate

      private boolean proxyRevalidate
    • cachePublic

      private boolean cachePublic
    • staleWhileRevalidate

      private long staleWhileRevalidate
    • staleIfError

      private long staleIfError
    • noCacheFields

      private Set<String> noCacheFields
    • mustUnderstand

      private boolean mustUnderstand
    • immutable

      private boolean immutable
  • Constructor Details

    • Builder

      Builder()
  • Method Details