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 aConvertedPathbased on the passed in path and query string.booleanReturn 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, waitMethods inherited from interface com.atlassian.confluence.servlet.simpledisplay.PathConverter
getPath, handles
-
Constructor Details
-
ViewPageActionPathConverter
-
-
Method Details
-
handles
Description copied from interface:PathConverterReturn 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:
handlesin 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:PathConverterReturns aConvertedPathbased on the passed in path and query string.- Specified by:
getPathin interfacePathConverter- Parameters:
pathInfo- the path relative to the servlet mappingqueryString- the query string- Returns:
- a
ConvertedPathrepresenting the path conversion
-