Package com.cksource.ckfinder.utils
Class HttpUtils
java.lang.Object
com.cksource.ckfinder.utils.HttpUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addCacheHeaders
(HttpHeaders headers, int cacheLifetime) Adds cache headers toHttpHeaders
instance.
-
Constructor Details
-
HttpUtils
public HttpUtils()
-
-
Method Details
-
addCacheHeaders
Adds cache headers toHttpHeaders
instance.- Parameters:
headers
-HttpHeaders
map where caching headers will be addedcacheLifetime
- cache lifetime in seconds
-