Class WebLink


  • public class WebLink
    extends Object
    A model object representing a web link in Confluence content as opposed to a Confluence resource link. This isn't a public model object, it is an internal object to allow for easier link processing.
    • Constructor Detail

      • WebLink

        public WebLink​(String href)
    • Method Detail

      • isValidURL

        public static boolean isValidURL​(String url)
      • isRelative

        public boolean isRelative()
        Returns:
        true if this is a link without a server component and is therefore relative to the Confluence server.
      • getHref

        public String getHref()
      • getAnchor

        public String getAnchor()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object