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

[HttpClient-changes] handler the request-response in vertx4 #57

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ response.end(ar -> {
----
+

On the other hand, we can handle the response with some operations if we want to. You can see the difference in the next examples.
On the other hand, you can also handle the response with operations like onSuccess, compose, bodyHandler, etc.
The following examples demonstrate handling responses with the operation onSuccess :

Copy link
Contributor

Choose a reason for hiding this comment

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

You can also handle the response with methods such as, onSucces(), compose(), and bodyHandler().
The following examples demonstrate handling responses using the onSuccess() method.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would like to point here, that is not only those 3 methods, there are a few methods more.

The following example shows an example using HTTP client in {VertX} {v3x} releases:

jcarranzan marked this conversation as resolved.
Show resolved Hide resolved
Expand Down