-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
httpclient builder: tls strategy customization #355
base: main
Are you sure you want to change the base?
httpclient builder: tls strategy customization #355
Conversation
Signed-off-by: Jan Berge Sommerdahl <[email protected]>
Hi Jan |
* | ||
* @param tlsStrategy custom tlsStrategy | ||
*/ | ||
public ApacheHttpClient5TransportBuilder setTlsStrategy(TlsStrategy tlsStrategy) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think providing the way to customize the TlsStrategy would be beneficial (right now you could do that by providing own connectionManager
instance, which is verbose). However we should do that iin a way to keep API concise, relying on XxxCallback
hooks, for example RequestConfigCallback
, HttpClientConfigCallback
.
public interface ClientTlsStrategyConfigCallback {
ClientTlsStrategyBuilder customizeClientTlsStrategyClientTlsStrategyBuilder clientTlsStrategyBuilder);
}
@wbeckler @reta @jan-berge-ommedal Anyone looking in to this PR? |
AFAIK, nope |
Sorry about the delay. Happy to look at the PR, needs tests, CHANGELOG and documentation, please? @jan-berge-ommedal |
Signed-off-by: Jan Berge Sommerdahl [email protected]
Description
Allows custom tls strategies to be used with ApacheHttpClient5TransportBuilder
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.