Interface PreviewDateWebRequestResolver
- All Known Implementing Classes:
DefaultPreviewDateWebRequestResolver
public interface PreviewDateWebRequestResolver
Interface that is expected to resolve a preview date of type
Instant
- Author:
- Nick Crum (ncrum)
-
Method Summary
-
Method Details
-
resolve
Attempts to resolve a preview date for the provided request and preview token.If no preview date is found this method is expected to return
null
.- Parameters:
webRequest
- the current web request- Returns:
- a preview date
Instant
ornull
-