Class ViewPageActionPathConverter
java.lang.Object
com.atlassian.confluence.pages.actions.ViewPageActionPathConverter
- All Implemented Interfaces:
PathConverter
-
Constructor Summary
ConstructorsConstructorDescriptionViewPageActionPathConverter
(PageManager pageManager, PermissionManager permissionManager) -
Method Summary
Modifier and TypeMethodDescriptionReturns aConvertedPath
based on the passed in path and query string.boolean
Return true from this method if your path converter can convert the specified path and query string.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.servlet.simpledisplay.PathConverter
getPath, handles
-
Constructor Details
-
ViewPageActionPathConverter
-
-
Method Details
-
handles
Description copied from interface:PathConverter
Return true from this method if your path converter can convert the specified path and query string. By default, the SimpleDisplayServlet will be mapped to '/display' which will be stripped off the path before being passed to this method. The first converter that returns true for a path will be used to perform the conversion.- Specified by:
handles
in interfacePathConverter
- Parameters:
pathInfo
- the path relative to the servlet mappingqueryString
- the query string- Returns:
- true if your path converter can handle this path
-
getPath
Description copied from interface:PathConverter
Returns aConvertedPath
based on the passed in path and query string.- Specified by:
getPath
in interfacePathConverter
- Parameters:
pathInfo
- the path relative to the servlet mappingqueryString
- the query string- Returns:
- a
ConvertedPath
representing the path conversion
-