Skip to content
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

Adds methods to update SSL Options to WebClient #2661

Merged

Conversation

frankgh
Copy link
Contributor

@frankgh frankgh commented Oct 20, 2024

This commit adds the ability to update the SSLOptions on the WebClient, similar to the methods in io.vertx.core.http.HttpClient. Internally, we delegate the calls to the underlying client.

Motivation:

Explain here the context, and why you're making that change, what is the problem you're trying to solve.

Conformance:

Your commits should be signed and you should have signed the Eclipse Contributor Agreement as explained in https://github.com/eclipse/vert.x/blob/master/CONTRIBUTING.md
Please also make sure you adhere to the code style guidelines: https://github.com/vert-x3/wiki/wiki/Vert.x-code-style-guidelines

* @param force force the update when options are equals
* @param handler the update handler
*/
default void updateSSLOptions(SSLOptions options, boolean force, Handler<AsyncResult<Boolean>> handler) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be removed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@frankgh frankgh force-pushed the add-update-ssl-options-to-webclient-master branch from 92f841b to 221d159 Compare October 21, 2024 02:27
@vietj
Copy link
Contributor

vietj commented Oct 24, 2024

@frankgh can you rebase on latest master of vertx-web ?

@frankgh frankgh force-pushed the add-update-ssl-options-to-webclient-master branch from 221d159 to 8fd8eab Compare October 24, 2024 17:03
This commit adds the ability to update the SSLOptions on the WebClient,
similar to the methods in `io.vertx.core.http.HttpClient`. Internally,
we delegate the calls to the underlying client.
@frankgh frankgh force-pushed the add-update-ssl-options-to-webclient-master branch from 8fd8eab to a38f488 Compare October 24, 2024 17:04
@frankgh
Copy link
Contributor Author

frankgh commented Oct 24, 2024

@frankgh can you rebase on latest master of vertx-web ?

I was able to compile locally, I've fixed a few things, and CI should be green now.

@vietj vietj added this to the 5.0.0 milestone Oct 24, 2024
@vietj vietj merged commit 0dcfcb1 into vert-x3:master Oct 24, 2024
7 checks passed
@vietj
Copy link
Contributor

vietj commented Oct 24, 2024

@frankgh thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants