Uses of Interface
io.wcm.wcm.commons.caching.ModificationDateProvider
Packages that use ModificationDateProvider
Package
Description
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 ModificationDateProviderModifier and TypeClassDescriptionfinal classModificationDateProviderfor aPageobject.final classModificationDateProviderfor aResourceobject.Methods in io.wcm.wcm.commons.caching with parameters of type ModificationDateProviderModifier and TypeMethodDescriptionstatic 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