Class ParsedParameters
- java.lang.Object
-
- org.apache.sling.resourceresolver.impl.params.ParsedParameters
-
public class ParsedParameters extends Object
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
Constructors Constructor Description ParsedParameters(String fullPath)
Parse path and create parameters object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getParameters()
String
getParametersString()
String
getRawPath()
-
-
-
Constructor Detail
-
ParsedParameters
public ParsedParameters(String fullPath)
Parse path and create parameters object.- Parameters:
fullPath
- Path to parse.
-
-