Interface ModelUrlNormalizer

  • All Known Implementing Classes:
    DefaultModelUrlNormalizer

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

      • normalize

        void normalize​(Model model,
                       ModelBuildingRequest request)
        Normalizes the well-known URLs of the specified model.
        Parameters:
        model - The model whose URLs should be normalized, may be null.
        request - The model building request that holds further settings, must not be null.