Open alexey-malov opened 5 years ago
http://:1/1.txt
URLComponents components = URLParser.parseURL("http://google.com:435/search");
System.out.println(components.host);
System.out.println(components.scheme);
System.out.println(components.document);
System.out.println(components.port);