code: protected final List<RedisURI> parseURLs(String[] urls, String password, boolean secure) {
  		ArrayList<RedisURI> list = new ArrayList<>(urls.length);
  		for (String url : urls) {
  			url = url.trim();
  			if ((password == null || password.isEmpty()) && !secure) {
  
  				// URL contains all of the connection parameters
  				try {
  					list.add(RedisURI.create(url));
  					continue;
  				} catch (Exception ignored) {
  
  					// Ignore, use old parsing below.
  				}
  			}
  
  			// Simple "host" or "host:port" or "redis://host:port" syntax
  			if (url.startsWith("redis://")) {
  				url = url.substring(8);
  			}
  			if (url.endsWith("/")) {
  				url = url.substring(0, url.length() - 1);
  			}
  			int i = url.indexOf(':');
  			String host = "localhost";
  			int port = 6379;
  			if (i > -1) {
  				host = url.substring(0, i);
  				port = Integer.parseInt(url.substring(i + 1));
  			} else {
  				host = url;
  			}
  			RedisURI.Builder builder = RedisURI.builder().withHost(host).withPort(port).withSsl(secure);
  			if (password != null && !password.isEmpty()) {
  				builder.withPassword(password);
  			}
  			list.add(builder.build());
  		}
  		return list;
  	}
docs: --- CONFIG PARSER ---