Interface UrlNormalizer

  • All Known Implementing Classes:
    DefaultUrlNormalizer

    public interface UrlNormalizer
    Normalizes a URL to remove the ugly parent references "../" that got potentially inserted by URL adjustment during model inheritance.
    Author:
    Benjamin Bentmann
    • Method Detail

      • normalize

        String normalize​(String url)
        Normalizes the specified URL.
        Parameters:
        url - The URL to normalize, may be null.
        Returns:
        The normalized URL or null if the input was null.