| Package | Description |
|---|---|
| com.helger.http |
| Modifier and Type | Method and Description |
|---|---|
CacheControlBuilder |
CacheControlBuilder.addExtension(String sExtension) |
CacheControlBuilder |
CacheControlBuilder.getClone() |
CacheControlBuilder |
CacheControlBuilder.setMaxAge(TimeUnit eTimeUnit,
long nDuration)
Set the maximum age relative to the request time
|
CacheControlBuilder |
CacheControlBuilder.setMaxAgeDays(long nDays)
Set the maximum age in days relative to the request time
|
CacheControlBuilder |
CacheControlBuilder.setMaxAgeHours(long nHours)
Set the maximum age in hours relative to the request time
|
CacheControlBuilder |
CacheControlBuilder.setMaxAgeMinutes(long nMinutes)
Set the maximum age in minutes relative to the request time
|
CacheControlBuilder |
CacheControlBuilder.setMaxAgeSeconds(long nSeconds)
Set the maximum age in seconds relative to the request time.
|
CacheControlBuilder |
CacheControlBuilder.setMustRevalidate(boolean bMustRevalidate)
Set the must-revalidate value.
|
CacheControlBuilder |
CacheControlBuilder.setNoCache(boolean bNoCache)
Set the no-cache value.
|
CacheControlBuilder |
CacheControlBuilder.setNoStore(boolean bNoStore)
Set the no-store value.
|
CacheControlBuilder |
CacheControlBuilder.setNoTransform(boolean bNoTransform)
Set the no-transform value.
|
CacheControlBuilder |
CacheControlBuilder.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.
|
CacheControlBuilder |
CacheControlBuilder.setProxyRevalidate(boolean bProxyRevalidate)
Set the proxy-revalidate value.
|
CacheControlBuilder |
CacheControlBuilder.setPublic(boolean bPublic)
Set the public value. marks authenticated responses as cacheable;
normally, if HTTP authentication is required, responses are automatically
private.
|
CacheControlBuilder |
CacheControlBuilder.setSharedMaxAge(TimeUnit eTimeUnit,
long nDuration)
Set the maximum age for shared caches relative to the request time.
|
CacheControlBuilder |
CacheControlBuilder.setSharedMaxAgeDays(long nDays)
Set the maximum age for shared caches in days relative to the request time.
|
CacheControlBuilder |
CacheControlBuilder.setSharedMaxAgeHours(long nHours)
Set the maximum age for shared caches in hours relative to the request
time.
|
CacheControlBuilder |
CacheControlBuilder.setSharedMaxAgeMinutes(long nMinutes)
Set the maximum age for shared caches in minutes relative to the request
time.
|
CacheControlBuilder |
CacheControlBuilder.setSharedMaxAgeSeconds(long nSeconds)
Set the maximum age for shared caches in seconds relative to the request
time.
|
| Constructor and Description |
|---|
CacheControlBuilder(CacheControlBuilder aBase)
Copy constructor
|
Copyright © 2016–2019 Philip Helger. All rights reserved.