Class ViewPageActionPathConverter

java.lang.Object
com.atlassian.confluence.pages.actions.ViewPageActionPathConverter
All Implemented Interfaces:
PathConverter

public class ViewPageActionPathConverter extends Object implements PathConverter
  • Constructor Details

  • Method Details

    • handles

      public boolean handles(String pathInfo, String queryString)
      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 interface PathConverter
      Parameters:
      pathInfo - the path relative to the servlet mapping
      queryString - the query string
      Returns:
      true if your path converter can handle this path
    • getPath

      public ConvertedPath getPath(String pathInfo, String queryString)
      Description copied from interface: PathConverter
      Returns a ConvertedPath based on the passed in path and query string.
      Specified by:
      getPath in interface PathConverter
      Parameters:
      pathInfo - the path relative to the servlet mapping
      queryString - the query string
      Returns:
      a ConvertedPath representing the path conversion