Interface UrlBuilder

  • All Known Subinterfaces:
    InternalUrlBuilder

    public interface UrlBuilder
    Interface for URL factories that calculate the right url for a given context.
    • Method Detail

      • getUrl

        String getUrl()
        Returns the URL. Depending on the context might return a relative URL.
        Returns:
        the URL.
      • getAbsoluteUrl

        String getAbsoluteUrl()
        Returns the absolute URL.
        Returns:
        the absolute URL.
      • getEscapedUrl

        String getEscapedUrl()
        Returns the URL escaped to HTML. For example & instead of &)
        Returns:
        the URL escaped to HTML.