Interface Navigation.Builder

    • Field Detail

      • NONE

        static final Navigation.Builder NONE
        Some Model classes need to provide a builder, but don't need to provide any navigation. This no-op builder should be safe to use everywhere that a Navigation.Builder is expected.
    • Method Detail

      • buildAbsolute

        String buildAbsolute()
        build an absolute URL http://localhost:8080/confluence/rest/of/url
      • buildCanonicalAbsolute

        String buildCanonicalAbsolute()
        build an absolute URL substituting the confuence configured base url and context for the base url and context supplied by the url builder
        Returns:
        a canonical url for this navigation path
      • buildRelative

        String buildRelative()
        build a relative URL without webapp context, i.e. /rest/of/url
      • buildRelativeWithContext

        String buildRelativeWithContext()
        build a relative URL with webapp context, i.e. /confluence/rest/of/url