public class CacheControlDirective extends Object
| Constructor and Description |
|---|
CacheControlDirective()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getMaxResults()
If the
no-store directive is set, this HAPI FHIR extention
to the Cache-Control header called max-results=123
specified the maximum number of results which will be fetched from the
database before returning. |
boolean |
isNoCache()
If
true<, adds the no-cache directive to the
request. |
boolean |
isNoStore() |
CacheControlDirective |
parse(List<String> theValues)
Parses a list of
Cache-Control header values |
CacheControlDirective |
setMaxResults(Integer theMaxResults)
If the
no-store directive is set, this HAPI FHIR extention
to the Cache-Control header called max-results=123
specified the maximum number of results which will be fetched from the
database before returning. |
CacheControlDirective |
setNoCache(boolean theNoCache)
If
true<, adds the no-cache directive to the
request. |
CacheControlDirective |
setNoStore(boolean theNoStore) |
public CacheControlDirective()
public Integer getMaxResults()
no-store directive is set, this HAPI FHIR extention
to the Cache-Control header called max-results=123
specified the maximum number of results which will be fetched from the
database before returning.public CacheControlDirective setMaxResults(Integer theMaxResults)
no-store directive is set, this HAPI FHIR extention
to the Cache-Control header called max-results=123
specified the maximum number of results which will be fetched from the
database before returning.public boolean isNoCache()
true<, adds the no-cache directive to the
request. This directive indicates that the cache should not be used to
serve this request.public CacheControlDirective setNoCache(boolean theNoCache)
true<, adds the no-cache directive to the
request. This directive indicates that the cache should not be used to
serve this request.public boolean isNoStore()
public CacheControlDirective setNoStore(boolean theNoStore)
public CacheControlDirective parse(List<String> theValues)
Cache-Control header valuestheValues - The Cache-Control header valuesCopyright © 2014–2019 University Health Network. All rights reserved.