Skip to content

3.6.2 Deprecations

Julien Viet edited this page Dec 17, 2018 · 1 revision

Deprecations

HTTP client request/response methods

The HttpClient request/response methods use Handler<HttpClientResponse> instead of Handler<AsyncResult< HttpClientResponse>>. In Vert.x 4 these methods signature change to use Handler<AsyncResult< HttpClientResponse>> instead and therefore have been deprecated.

For Vert.x 3.x the recommandation is now to use the Web Client instead which provides already such methods and higher level features.

Dependency changes

Vert.x for Groovy

Vert.x for Groovy has been migrated to the 2.5.4 version. Previous versions of Vert.x for Groovy were depending on the groovy-all artifact. In 2.5.4 this artifact is now a dependency of type pom and not anymore a single jar. Also there was no good reason to depend on groovy-all. In this version the dependency is upon:

  • groovy-core
  • groovy-json
  • groovy-console

In some case you can experience missing classes, the solution is to add the missing modules to your classpath.

Clone this wiki locally