@Test public void shouldCreateWebServer() { WebServer webServer = webServerFactory.getWebServer(null); assertThat(webServer).isNotNull(); assertThat(webServer).isInstanceOf(VertxWebServer.class); }
@Override public WebServer getWebServer(HttpHandler httpHandler) { HttpServerOptions httpServerOptions = customizeHttpServerOptions(properties.getHttpServerOptions()); VertxHttpHandlerAdapter handler = new VertxHttpHandlerAdapter(httpHandler); return new VertxWebServer(vertx, httpServerOptions, handler); }
VertxReactiveWebServerFactory extends AbstractReactiveWebServerFactory { @Override public WebServer getWebServer(HttpHandler httpHandler) { HttpServerOptions httpServerOptions = customizeHttpServerOptions(properties.getHttpServerOptions()); VertxHttpHandlerAdapter handler = new VertxHttpHandlerAdapter(httpHandler); return new VertxWebServer(vertx, httpServerOptions, handler); } }
VertxReactiveWebServerFactory extends AbstractReactiveWebServerFactory { @Override public WebServer getWebServer(HttpHandler httpHandler) { HttpServerOptions httpServerOptions = customizeHttpServerOptions(properties.getHttpServerOptions()); VertxHttpHandlerAdapter handler = new VertxHttpHandlerAdapter(httpHandler); return new VertxWebServer(vertx, httpServerOptions, handler); } VertxReactiveWebServerFactory(Vertx vertx, HttpServerProperties properties); }
VertxReactiveWebServerFactory extends AbstractReactiveWebServerFactory { @Override public WebServer getWebServer(HttpHandler httpHandler) { HttpServerOptions httpServerOptions = customizeHttpServerOptions(properties.getHttpServerOptions()); VertxHttpHandlerAdapter handler = new VertxHttpHandlerAdapter(httpHandler); return new VertxWebServer(vertx, httpServerOptions, handler); } VertxReactiveWebServerFactory(Vertx vertx, HttpServerProperties properties); @Override WebServer getWebServer(HttpHandler httpHandler); void registerHttpServerOptionsCustomizer(HttpServerOptionsCustomizer customizer); }
VertxReactiveWebServerFactory extends AbstractReactiveWebServerFactory { @Override public WebServer getWebServer(HttpHandler httpHandler) { HttpServerOptions httpServerOptions = customizeHttpServerOptions(properties.getHttpServerOptions()); VertxHttpHandlerAdapter handler = new VertxHttpHandlerAdapter(httpHandler); return new VertxWebServer(vertx, httpServerOptions, handler); } VertxReactiveWebServerFactory(Vertx vertx, HttpServerProperties properties); @Override WebServer getWebServer(HttpHandler httpHandler); void registerHttpServerOptionsCustomizer(HttpServerOptionsCustomizer customizer);  }