public interface PageVariantsProvider
Modifier and Type | Method and Description |
---|---|
java.util.List<PageVariant> |
getVariants(Page page,
SlingHttpServletRequest request)
Returns a list of page variants to be used in the
<head> section of a page in order to indicate alternate representations of
the same content. |
java.util.List<PageVariant> getVariants(Page page, SlingHttpServletRequest request)
<head>
section of a page in order to indicate alternate representations of
the same content.page
- the CQ Pagerequest
- the request, in case the sent selectors must be taken into consideration; otherwise this parameter can be nullPageVariant
s or an empty list if none was found"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"