Class SpacePathConverter

java.lang.Object
com.atlassian.confluence.servlet.simpledisplay.AbstractPathConverter
com.atlassian.confluence.servlet.simpledisplay.SpacePathConverter
All Implemented Interfaces:
PathConverter, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class SpacePathConverter extends AbstractPathConverter
This path converter takes a friendly space url and converts it into a viewspace action url. This converter expects exactly one field, the space key.

This converter will return the home page.

  • Field Details

  • Constructor Details

    • SpacePathConverter

      public SpacePathConverter(PathConverterManager pathConverterManager, com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager)
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Throws:
      Exception
    • handles

      public boolean handles(String simplePath)
    • getPath

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