class EurekaUris {

    public static boolean isSecure(URI eurekaUri) {
        List<String> secureValue = UriComponentsBuilder.fromUri(eurekaUri).build().getQueryParams().get(EUREKA_SECURE_PARAM);
        if (CollectionsExt.isNullOrEmpty(secureValue)) {
            return false;
        }
        String value = StringExt.safeTrim(secureValue.get(0));
        return value.isEmpty() || "true".equalsIgnoreCase(value);
    }

}