public class CacheControl extends 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. |
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.Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.