Code example for URL

Methods: getHostgetPortgetProtocol

		 * This method overrides the properties: host, port and enableSSL. 
		 * @param url 
		 * @return 
		public Builder url(URL url){ = url.getHost();
			this.port = url.getPort();
			return this;
		public Builder host(String s) {
			host = s;
			return this;
		public Builder proxyPort(int p) {
			proxyPort = p;
			return this;
Connect your IDE to all the code out there  Get Codota for Java