You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to customize client-level settings for the underlying OkHttpClient while still using the majority of defaults in HttpClientUtils.createHttpClient.
The specific use case I'm interested in is customizing the connection pool used by the client because we're running into an issue where it blocks program closure by taking 5 min to give up an idle connection. If this was modifiable we could customize this:
The reason I'd like to be able to modify this is because HttpClientUtils.createHttpClient sets a lot of useful defaults. I don't want to have to create and maintain a duplicate of HttpClientUtils.createHttpClient in my code base just so I can modify this.
This can be achieved by making HttpClientUtils.createHttpClientpublic. Additional overrides can be supplied via the additionalConfig consumer.
The text was updated successfully, but these errors were encountered:
I would like to be able to customize client-level settings for the underlying
OkHttpClient
while still using the majority of defaults inHttpClientUtils.createHttpClient
.The specific use case I'm interested in is customizing the connection pool used by the client because we're running into an issue where it blocks program closure by taking 5 min to give up an idle connection. If this was modifiable we could customize this:
The reason I'd like to be able to modify this is because
HttpClientUtils.createHttpClient
sets a lot of useful defaults. I don't want to have to create and maintain a duplicate ofHttpClientUtils.createHttpClient
in my code base just so I can modify this.This can be achieved by making
HttpClientUtils.createHttpClient
public
. Additional overrides can be supplied via theadditionalConfig
consumer.The text was updated successfully, but these errors were encountered: