Class FQDNUrl


  • public class FQDNUrl
    extends Object
    URL with fully qualified domain name.
    • Constructor Detail

      • FQDNUrl

        public FQDNUrl​(String strURL)
                throws MalformedURLException
        Constructs a fully qualified domain name URL object.
        Parameters:
        strURL - String representation of the URL.
        Throws:
        MalformedURLException - if the URL is malformed or its host name is not fully qualified.
    • Method Detail

      • isValid

        public boolean isValid()
        Returns true if URL is valid.
        Returns:
        true if URL is valid.
      • isFullyQualified

        public boolean isFullyQualified()
        Returns true if host name is fully qualified.
        Returns:
        true if host name is fully qualified.
      • getURL

        public URL getURL()
        Returns URL object.
        Returns:
        URL object.
      • getURI

        public String getURI()
        Returns deployment descriptor.
        Returns:
        deployment descriptor.
      • getProtocol

        public String getProtocol()
        Returns protocol.
        Returns:
        protocol.
      • getHost

        public String getHost()
        Returns host.
        Returns:
        host.
      • getPort

        public String getPort()
        Returns port number.
        Returns:
        port number.