private static void setUrl(RestClient.Builder builder, String serviceUrl) {
		final String url = UriComponentsBuilder.fromUriString(serviceUrl).userInfo(null).toUriString();

		final EurekaHttpClientUtils.UserInfo userInfo = extractUserInfo(serviceUrl);
		if (userInfo != null) {
			builder.requestInterceptor(new BasicAuthenticationInterceptor(userInfo.username(), userInfo.password()));
		}
		builder.baseUrl(url);
	}
Provides the custom {@link RestClient} required by the
{@link RestClientEurekaHttpClient}. Relies on Jackson for serialization and
deserialization.

@author Wonchul Heo
@author Olga Maciaszek-Sharma
@since 4.2.0
spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/http/RestClientTransportClientFactory.java