Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ohadbitt committed Nov 7, 2024
2 parents 2c7f84c + 2850cf2 commit 65c0bc1
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public class HttpClientProperties {
private final boolean keepAlive;
private final Integer maxKeepAliveTime;
private final Integer maxConnectionTotal;
private final Integer maxConnectionRoute;
private final Class<? extends HttpClientProvider> provider;
private final ProxyOptions proxy;

Expand All @@ -22,7 +21,6 @@ private HttpClientProperties(HttpClientPropertiesBuilder builder) {
this.keepAlive = builder.keepAlive;
this.maxKeepAliveTime = builder.maxKeepAliveTime;
this.maxConnectionTotal = builder.maxConnectionsTotal;
this.maxConnectionRoute = builder.maxConnectionsPerRoute;
this.provider = builder.provider;
this.proxy = builder.proxy;
}
Expand Down Expand Up @@ -56,7 +54,6 @@ public Integer maxIdleTime() {
* {@linkplain #maxKeepAliveTime()}.
*
* @return whether a custom connection keep-alive strategy should be used
*
* @see #maxKeepAliveTime()
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive">Keep-Alive</a>
*/
Expand Down Expand Up @@ -84,15 +81,6 @@ public Integer maxConnectionTotal() {
return maxConnectionTotal;
}

/*
* The maximum number of connections the client may keep open at the same time per route.
*
* @return the maximum number of connections per route
*/
public Integer maxConnectionRoute() {
return maxConnectionRoute;
}

/**
* Gets the HTTP Client Provider used by Azure Core when constructing HTTP Client instances.
*
Expand Down Expand Up @@ -149,7 +137,6 @@ public HttpClientPropertiesBuilder maxIdleTime(Integer maxIdleTime) {
* @param keepAlive set to {@code false} to use a default keep-alive strategy or to {@code true} to use a
* custom one
* @return the builder instance
*
* @see #maxKeepAliveTime(Integer)
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive">Keep-Alive</a>
*/
Expand Down

0 comments on commit 65c0bc1

Please sign in to comment.