Package io.wcm.handler.url.suffix
Interface SuffixStateKeepingStrategy
-
- All Known Implementing Classes:
DiscardSuffixStateStrategy
,FilteringSuffixStateStrategy
@ConsumerType public interface SuffixStateKeepingStrategy
Interface for strategies that decide which parts from the current request's suffix should be kept when constructing new links with theSuffixBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull java.util.List<java.lang.String>
getSuffixPartsToKeep(@NotNull org.apache.sling.api.SlingHttpServletRequest request)
Implement this method to return those suffix parts that should be kept at the beginning of the suffix to construct to keep the page's state
-
-
-
Method Detail
-
getSuffixPartsToKeep
@NotNull @NotNull java.util.List<java.lang.String> getSuffixPartsToKeep(@NotNull @NotNull org.apache.sling.api.SlingHttpServletRequest request)
Implement this method to return those suffix parts that should be kept at the beginning of the suffix to construct to keep the page's state- Parameters:
request
- Current request- Returns:
- a list of suffix parts
-
-