-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Web client http context lifecycle cleanup
Motivation: The web client implementation `HttpContext` has been designed when Vert.x was still using handler of async results. Since the update to using the future model mainstream the implementation although it has been updated to use futures has not been fully updated and the internal still use artificial promises to connect the flow between the various execution phases of the context. This rewrites partly the implementation of `HttpContext` to remove un-necessary logic (e.g. the creation of intermediary promises) and simplify the implementation to make it easier to reason about the flow of execution phases. In addition the body codec SPI has been slightly simplified (transformed an un-necessary handler async result into a synchronous method.
- Loading branch information
Showing
10 changed files
with
207 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.