Class ParsedParameters
java.lang.Object
org.apache.sling.resourceresolver.impl.params.ParsedParameters
Parses path looking for semicolon-separated parameters. Parameters are extracted and exposed as an
immutable map. The path without parameters is available as raw path.
Parameters should be added immediately before or after selectors and extension:
/content/test;v='1.0'.html
or /content/test.html;v=1.0
. Quotes can be used to escape the
parameter value (it is necessary if the value contains dot and parameter is added before extension).-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
ParsedParameters
Parse path and create parameters object.- Parameters:
fullPath
- Path to parse.
-
-
Method Details
-
getRawPath
- Returns:
- Path with no parameters.
-
getParametersString
- Returns:
- Path's substring containing parameters
-
getParameters
- Returns:
- Map of the parameters.
-