class MaxAge : CacheControl
Represents a cache control value with the specified max ages and re-validation strategies
MaxAge(maxAgeSeconds: Int, proxyMaxAgeSeconds: Int? = null, mustRevalidate: Boolean = false, proxyRevalidate: Boolean = false, visibility: Visibility? = null)
Represents a cache control value with the specified max ages and re-validation strategies |
val maxAgeSeconds: Int
max-age in seconds |
|
val mustRevalidate: Boolean
|
|
val proxyMaxAgeSeconds: Int?
max-age in seconds for caching proxies |
|
val proxyRevalidate: Boolean
|
val visibility: Visibility?
specifies an optional visibility such as private or public |
fun equals(other: Any?): Boolean |
|
fun hashCode(): Int |
|
fun toString(): String |