Skip to content

Commit

Permalink
wtf
Browse files Browse the repository at this point in the history
  • Loading branch information
ohadbitt committed Nov 7, 2024
1 parent afd44a7 commit 2850cf2
Showing 1 changed file with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,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 @@ -85,21 +84,21 @@ public Integer maxConnectionTotal() {
}

/**
* The maximum number of connections the client may keep open at the same time per route.
* Gets the HTTP Client Provider used by Azure Core when constructing HTTP Client instances.
*
* @return the maximum number of connections per route
* @return the provider
*/
public Integer maxConnectionRoute() {
return maxConnectionRoute;
public Class<? extends HttpClientProvider> provider() {
return provider;
}

/**
* Gets the HTTP Client Provider used by Azure Core when constructing HTTP Client instances.
* The maximum number of connections the client may keep open at the same time per route.
*
* @return the provider
* @return the maximum number of connections per route
*/
public Class<? extends HttpClientProvider> provider() {
return provider;
public Integer maxConnectionRoute() {
return maxConnectionRoute;
}

/**
Expand Down Expand Up @@ -150,7 +149,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 2850cf2

Please sign in to comment.