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 class
PageModificationDateProvider
ModificationDateProvider
for aPage
object.class
ResourceModificationDateProvider
ModificationDateProvider
for aResource
object.Methods in io.wcm.wcm.commons.caching with parameters of type ModificationDateProvider Modifier and Type Method Description static boolean
CacheHeader. 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 boolean
CacheHeader. 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 java.util.Date
ModificationDate. mostRecent(@NotNull ModificationDateProvider @NotNull ... dateProviders)
Finds the most recent modification date from aModificationDateProvider
and multiple additional resources
-