Object InternalURLUtil

  • All Implemented Interfaces:

    
    public class InternalURLUtil
    
                        

    Utility class for URL analysis.

    protocol://username:password@hostname:port/pathname?search#hash -----------------------------href------------------------------ -----host---- ----------- origin -------------

    protocol - protocol scheme of the URL, including the final ':' hostname - domain name port - port number pathname - /pathname search - ?parameters hash - #fragment_identifier username - username specified before the domain name password - password specified before the domain name href - the entire URL origin - protocol://hostname:port host - hostname:port

    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getHost(String url)
      final String getHost(String url, InternalURLUtil.GroupMode groupMode)
      final String getHost(URL url, InternalURLUtil.GroupMode groupMode)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait