Class ConvertedPath
java.lang.Object
com.atlassian.confluence.servlet.simpledisplay.ConvertedPath
Encapsulates the result of a path conversion.
-
Constructor Summary
ConstructorsConstructorDescriptionConvertedPath
(String url) Construct a ConvertedPath which will forward to (getPath(Map)
) by appending any added parameters as query parameters to the supplied url.ConvertedPath
(String url, PathConversionAction action) Construct a ConvertedPath which will forward or redirect to (getPath(Map)
) by appending any added parameters as query parameters to the supplied url.ConvertedPath
(String url, PathConversionAction action, boolean encodeAnchor) Construct a ConvertedPath which will forward or redirect to (getPath(Map)
) by appending any added parameters as query parameters to the supplied url. -
Method Summary
-
Constructor Details
-
ConvertedPath
Construct a ConvertedPath which will forward to (getPath(Map)
) by appending any added parameters as query parameters to the supplied url.- Parameters:
url
- a url with no query parameters
-
ConvertedPath
Construct a ConvertedPath which will forward or redirect to (getPath(Map)
) by appending any added parameters as query parameters to the supplied url.- Parameters:
url
- a url with no query parametersaction
- the action to take on the new path
-
ConvertedPath
Construct a ConvertedPath which will forward or redirect to (getPath(Map)
) by appending any added parameters as query parameters to the supplied url.- Parameters:
url
- a url with no query parametersaction
- the action to take on the new path
-
-
Method Details
-
addParameter
-
getUrl
-
getAction
-
getPath
-
getPath
Deprecated.since 6.0. queryParameters is always passed null, usegetPath()
instead -
getParameters
- Returns:
- only the parameters that are added via
addParameter(String, String)
. These parameters will be URL encoded
-