简体   繁体   中英

Resteasy jaxrs using io.vertx.reactivex.core.Vertx

I am building a Vertx application with a Jaxrs webservice interface.

I am using the following dependency in my app:

  <dependency> <groupId>org.jboss.resteasy</groupId> <artifactId>resteasy-vertx</artifactId> <version>4.0.0.Beta8</version> </dependency> 

I noticed that Resteasy uses vertx from io.vertx.core.Vertx package. However, I need to use a Vertx from package io.vertx.reactivex.core.Vertx.

The following api in Resteasy requires io.vertx.core.Vertx for the "vertx" argument:

new VertxRequestHandler(vertx, vertxResteasyDeployment)

Is there a way to pass in io.vertx.reactivex.core.Vertx object instead?

如果您有一个rxified Vertx实例,则可以使用getDelegate()检索基础核心实例。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM