APISonar


org.springframework.cloud.config.server.proxy.ProxyHostProperties.ProxyForScheme.HTTP

> org > springframework > cloud > config > server > proxy > ProxyHostProperties > ProxyForScheme > HTTP
org APIs springframework APIs cloud APIs config APIs server APIs proxy APIs ProxyHostProperties APIs ProxyForScheme APIs HTTP APIs

Example 1
private VaultEnvironmentProperties getVaultEnvironmentProperties(
			ProxyHostProperties httpProxy, ProxyHostProperties httpsProxy) {
		Map<ProxyHostProperties.ProxyForScheme, ProxyHostProperties> proxyMap = new HashMap<>();
		proxyMap.put(ProxyHostProperties.ProxyForScheme.HTTP, httpProxy);
		proxyMap.put(ProxyHostProperties.ProxyForScheme.HTTPS, httpsProxy);
		VaultEnvironmentProperties properties = new VaultEnvironmentProperties();
		properties.setProxy(proxyMap);
		return properties;
	}