use of org.springframework.http.server.reactive.JettyHttpHandlerAdapter in project spring-boot by spring-projects.
the class JettyReactiveWebServerFactory method getWebServer.
@Override
public WebServer getWebServer(HttpHandler httpHandler) {
JettyHttpHandlerAdapter servlet = new JettyHttpHandlerAdapter(httpHandler);
Server server = createJettyServer(servlet);
return new JettyWebServer(server, getPort() >= 0);
}
Aggregations