|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.servlet.simpledisplay.ConvertedPath
public class ConvertedPath
Encapsulates the result of a path conversion.
| Constructor Summary | |
|---|---|
ConvertedPath(String url)
Construct a ConvertedPath which will render ( getPath(Map)) by appending
any added parameters as query parameters to the supplied url. |
|
ConvertedPath(String pathTemplate,
VelocityEngineResolver resolver)
Deprecated. since Confluence 4.3. The resolver parameter is no longer necessary. We prefer to construct ConvertedPath by simply appending query parameters rather than rendering Velocity |
|
| Method Summary | |
|---|---|
void |
addParameter(String name,
String value)
|
Map |
getParameters()
|
String |
getPath()
|
String |
getPath(Map<String,String[]> queryParameters)
Get the converted path with the supplied query parameters also included. |
String |
getUrl()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConvertedPath(String url)
getPath(Map)) by appending
any added parameters as query parameters to the supplied url.
url - a url with no query parameters
@Deprecated
public ConvertedPath(String pathTemplate,
VelocityEngineResolver resolver)
getPath()) by rendering
the supplied Velocity template.
pathTemplate - a Velocity template representing a URL.resolver - the Velocity resolver to be used to render the pathTemplate parameter.| Method Detail |
|---|
public void addParameter(String name,
String value)
public String getUrl()
public String getPath()
public String getPath(Map<String,String[]> queryParameters)
queryParameters -
public Map getParameters()
addParameter(String, String). These parameters
will be URL encoded
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||