Package io.wcm.handler.url.suffix
Class DiscardSuffixStateStrategy
- java.lang.Object
-
- io.wcm.handler.url.suffix.DiscardSuffixStateStrategy
-
- All Implemented Interfaces:
SuffixStateKeepingStrategy
@ProviderType public final class DiscardSuffixStateStrategy extends java.lang.Object implements SuffixStateKeepingStrategy
SimpleSuffixStateKeepingStrategy
that just discards the suffix from the current request
-
-
Constructor Summary
Constructors Constructor Description DiscardSuffixStateStrategy()
-
Method Summary
All Methods Instance Methods Concrete 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 public @NotNull java.util.List<java.lang.String> getSuffixPartsToKeep(@NotNull @NotNull org.apache.sling.api.SlingHttpServletRequest request)
Description copied from interface:SuffixStateKeepingStrategy
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- Specified by:
getSuffixPartsToKeep
in interfaceSuffixStateKeepingStrategy
- Parameters:
request
- Current request- Returns:
- a list of suffix parts
-
-