| Package | Description |
|---|---|
| com.vmware.nsx_global_policy.model |
| Modifier and Type | Method and Description |
|---|---|
ALBHttpCacheConfig.Builder |
ALBHttpCacheConfig.Builder.setAgeHeader(java.lang.Boolean ageHeader)
Add an Age header to content served from cache, which indicates to the client
the number of seconds the object has been in the cache.
|
ALBHttpCacheConfig.Builder |
ALBHttpCacheConfig.Builder.setAggressive(java.lang.Boolean aggressive)
Enable/disable caching objects without Cache-Control headers.
|
ALBHttpCacheConfig.Builder |
ALBHttpCacheConfig.Builder.setDateHeader(java.lang.Boolean dateHeader)
If a Date header was not added by the server, add a Date header to the object
served from cache.
|
ALBHttpCacheConfig.Builder |
ALBHttpCacheConfig.Builder.setDefaultExpire(java.lang.Long defaultExpire)
Default expiration time of cache objects received from the server without a
Cache-Control expiration header.
|
ALBHttpCacheConfig.Builder |
ALBHttpCacheConfig.Builder.setEnabled(java.lang.Boolean enabled)
Enable/disable HTTP object caching.When enabling caching for the first time, SE
Group app_cache_percent must be set to allocate shared memory required for
caching (A service engine restart is needed after setting/resetting the SE group
value).
|
ALBHttpCacheConfig.Builder |
ALBHttpCacheConfig.Builder.setHeuristicExpire(java.lang.Boolean heuristicExpire)
If a response object from the server does not include the Cache-Control header,
but does include a Last-Modified header, the system will use this time to
calculate the Cache-Control expiration.
|
ALBHttpCacheConfig.Builder |
ALBHttpCacheConfig.Builder.setIgnoreRequestCacheControl(java.lang.Boolean ignoreRequestCacheControl)
Ignore client's cache control headers when fetching or storing from and to the
cache.
|
ALBHttpCacheConfig.Builder |
ALBHttpCacheConfig.Builder.setMaxCacheSize(java.lang.Long maxCacheSize)
Max size, in bytes, of the cache.
|
ALBHttpCacheConfig.Builder |
ALBHttpCacheConfig.Builder.setMaxObjectSize(java.lang.Long maxObjectSize)
Maximum size of an object to store in the cache.
|
ALBHttpCacheConfig.Builder |
ALBHttpCacheConfig.Builder.setMimeTypesBlockGroupPaths(java.util.List<java.lang.String> mimeTypesBlockGroupPaths)
Blocklist string group of non-cacheable mime types.
|
ALBHttpCacheConfig.Builder |
ALBHttpCacheConfig.Builder.setMimeTypesBlockLists(java.util.List<java.lang.String> mimeTypesBlockLists)
Blocklist of non-cacheable mime types.
|
ALBHttpCacheConfig.Builder |
ALBHttpCacheConfig.Builder.setMimeTypesGroupPaths(java.util.List<java.lang.String> mimeTypesGroupPaths)
Allowlist string group of cacheable mime types.
|
ALBHttpCacheConfig.Builder |
ALBHttpCacheConfig.Builder.setMimeTypesList(java.util.List<java.lang.String> mimeTypesList)
Allowlist of cacheable mime types.
|
ALBHttpCacheConfig.Builder |
ALBHttpCacheConfig.Builder.setMinObjectSize(java.lang.Long minObjectSize)
Minimum size of an object to store in the cache.
|
ALBHttpCacheConfig.Builder |
ALBHttpCacheConfig.Builder.setQueryCacheable(java.lang.Boolean queryCacheable)
Allow caching of objects whose URI included a query argument.
|
ALBHttpCacheConfig.Builder |
ALBHttpCacheConfig.Builder.setUriNonCacheable(ALBPathMatch uriNonCacheable) |
ALBHttpCacheConfig.Builder |
ALBHttpCacheConfig.Builder.setXcacheHeader(java.lang.Boolean xcacheHeader)
Add an X-Cache header to content served from cache, which indicates to the
client that the object was served from an intermediate cache.
|