Class ConvertedPath

java.lang.Object
com.atlassian.confluence.servlet.simpledisplay.ConvertedPath

public class ConvertedPath extends Object
Encapsulates the result of a path conversion.
  • Constructor Details

    • ConvertedPath

      public ConvertedPath(String url)
      Construct a ConvertedPath which will forward to (getPath(Map)) by appending any added parameters as query parameters to the supplied url.
      Parameters:
      url - a url with no query parameters
    • ConvertedPath

      public ConvertedPath(String url, PathConversionAction action)
      Construct a ConvertedPath which will forward or redirect to (getPath(Map)) by appending any added parameters as query parameters to the supplied url.
      Parameters:
      url - a url with no query parameters
      action - the action to take on the new path
    • ConvertedPath

      public ConvertedPath(String url, PathConversionAction action, boolean encodeAnchor)
      Construct a ConvertedPath which will forward or redirect to (getPath(Map)) by appending any added parameters as query parameters to the supplied url.
      Parameters:
      url - a url with no query parameters
      action - the action to take on the new path
    • ConvertedPath

      @Deprecated public ConvertedPath(String pathTemplate, VelocityEngineResolver resolver)
      Deprecated.
      since 4.3. The resolver parameter is no longer necessary. We prefer to construct ConvertedPath by simply appending query parameters rather than rendering Velocity
      Construct a ConvertedPath which will forward to (getPath()) by rendering the supplied Velocity template.
      Parameters:
      pathTemplate - a Velocity template representing a URL.
      resolver - the Velocity resolver to be used to render the pathTemplate parameter.
  • Method Details