public class CacheControl
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static CacheControl |
maxAge(int timeInSeconds)
Returns
max-age header value. |
static CacheControl |
noCache()
Returns
no-cache header value. |
java.lang.String |
toString() |
public static CacheControl noCache()
no-cache header value.no-cache header value.public static CacheControl maxAge(int timeInSeconds)
max-age header value.timeInSeconds - Header value in seconds.max-age header value.public java.lang.String toString()
toString in class java.lang.Object