Code example for URL

Methods: getHostgetPortgetProtocol

		int maxObjectSizeBytes = 8192;
		int maxCacheEntries = 1000;
		public Builder url(String s) throws MalformedURLException {
			if (s == null) return this;
			return this.url(new URL(s));
		 * Will set host, port and possible enables SSL based on the properties if the supplied URL. 
		 * 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;
Contextual code suggestions in your IDE  Get Codota for Java