Uses of Interface
io.wcm.wcm.commons.caching.ModificationDateProvider
-
Packages that use ModificationDateProvider Package Description io.wcm.wcm.commons.caching Helper classes for managing HTTP caching headers for resources and pages. -
-
Uses of ModificationDateProvider in io.wcm.wcm.commons.caching
Classes in io.wcm.wcm.commons.caching that implement ModificationDateProvider Modifier and Type Class Description classPageModificationDateProviderModificationDateProviderfor aPageobject.classResourceModificationDateProviderModificationDateProviderfor aResourceobject.Methods in io.wcm.wcm.commons.caching with parameters of type ModificationDateProvider Modifier and Type Method Description static booleanCacheHeader. isNotModified(@NotNull ModificationDateProvider dateProvider, @NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull org.apache.sling.api.SlingHttpServletResponse response)Compares the "If-Modified-Since header" of the incoming request with the last modification date of an aggregated resource.static booleanCacheHeader. isNotModified(@NotNull ModificationDateProvider dateProvider, @NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull org.apache.sling.api.SlingHttpServletResponse response, boolean setExpiresHeader)Compares the "If-Modified-Since header" of the incoming request with the last modification date of an aggregated resource.static @Nullable DateModificationDate. mostRecent(@NotNull ModificationDateProvider @NotNull ... dateProviders)Finds the most recent modification date from aModificationDateProviderand multiple additional resources
-