@Test public void testSecureParameter() { assertThat(EurekaUris.isSecure(URI.create("eureka: assertThat(EurekaUris.isSecure(URI.create("eureka: assertThat(EurekaUris.isSecure(URI.create("eureka: assertThat(EurekaUris.isSecure(URI.create("eureka: }
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); }
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); } }
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); }  }
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); }  static URI failIfEurekaUriInvalid(URI eurekaUri); static String getServiceName(URI eurekaUri); static boolean isEurekaScheme(URI eurekaUri); static boolean isSecure(URI eurekaUri); }
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); }  static URI failIfEurekaUriInvalid(URI eurekaUri); static String getServiceName(URI eurekaUri); static boolean isEurekaScheme(URI eurekaUri); static boolean isSecure(URI eurekaUri); static final String EUREKA_SCHEME; static final String EUREKA_SECURE_PARAM; }