MCPcopy Index your code
hub / github.com/OpenFeign/feign / getConnection

Method getConnection

core/src/main/java/feign/Client.java:89–96  ·  view source on GitHub ↗
(URL url)

Source from the content-addressed store, hash-verified

87 }
88
89 @Override
90 public HttpURLConnection getConnection(URL url) throws IOException {
91 HttpURLConnection connection = (HttpURLConnection) url.openConnection(this.proxy);
92 if (isNotBlank(this.credentials)) {
93 connection.addRequestProperty(PROXY_AUTHORIZATION, this.credentials);
94 }
95 return connection;
96 }
97
98 public String getCredentials() {
99 return this.credentials;

Calls 1

isNotBlankMethod · 0.80