Class NormUrl

  • All Implemented Interfaces:
    kotlin.Comparable

    
    public class NormUrl
     implements Comparable<NormUrl>
                        

    NormUrl stands for normal url, which means the url is final and will be used to locate the resource.

    Every normal url contains two urls: a url and a href, url stands for Uniform Resource Locator, both for external webpage and internal database record, and href stands for Hyperlink Reference, which contains a url extracted from an HTML document.

    Href is the first choice to locate resources, because it's extracted from the HTML document without modification, while url is typically normalized.