@Contract(threading=IMMUTABLE)
public interface CacheControl
Modifier and Type | Method and Description |
---|---|
long |
getMaxAge()
Returns the max-age value from the Cache-Control header.
|
long |
getStaleIfError()
Returns the stale-if-error value from the Cache-Control header.
|
boolean |
isNoCache()
Returns the no-cache flag from the Cache-Control header.
|
boolean |
isNoStore()
Returns the no-store flag from the Cache-Control header.
|
long getMaxAge()
boolean isNoCache()
boolean isNoStore()
long getStaleIfError()
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.