|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.servlet.simpledisplay.PagePathConverter
public class PagePathConverter
This path converter takes a friendly page url and converts it into a viewpage action url. This converter expects exactly two fields:
Constructor Summary | |
---|---|
PagePathConverter()
|
Method Summary | |
---|---|
ConvertedPath |
getPath(java.lang.String path)
Returns a ConvertedPath based on the passed in path. |
boolean |
handles(java.lang.String simplePath)
Return true from this method if your path converter can convert the specified path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PagePathConverter()
Method Detail |
---|
public boolean handles(java.lang.String simplePath)
PathConverter
handles
in interface PathConverter
simplePath
- the path relative to the servlet mapping
public ConvertedPath getPath(java.lang.String path)
PathConverter
ConvertedPath
based on the passed in path.
getPath
in interface PathConverter
path
- the path relative to the servlet mapping
ConvertedPath
representing the path conversion
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |