Here you can find the source of isRedisSSLScheme(URI uri)
public static boolean isRedisSSLScheme(URI uri)
//package com.java2s; //License from project: Open Source License import java.net.URI; public class Main { private static final String REDISS = "rediss"; public static boolean isRedisSSLScheme(URI uri) { return REDISS.equals(uri.getScheme()); }/*from w ww . j av a 2s . co m*/ }