Class VertxWebServer

  • All Implemented Interfaces:
    org.springframework.boot.web.server.WebServer

    public class VertxWebServer
    extends java.lang.Object
    implements org.springframework.boot.web.server.WebServer
    • Constructor Summary

      Constructors 
      Constructor Description
      VertxWebServer​(io.vertx.core.Vertx vertx, io.vertx.core.http.HttpServerOptions httpServerOptions, io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> requestHandler)  
    • Method Summary

      Modifier and Type Method Description
      int getPort()  
      void start()  
      void stop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VertxWebServer

        public VertxWebServer​(io.vertx.core.Vertx vertx,
                              io.vertx.core.http.HttpServerOptions httpServerOptions,
                              io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> requestHandler)
    • Method Detail

      • start

        public void start()
                   throws org.springframework.boot.web.server.WebServerException
        Specified by:
        start in interface org.springframework.boot.web.server.WebServer
        Throws:
        org.springframework.boot.web.server.WebServerException
      • stop

        public void stop()
                  throws org.springframework.boot.web.server.WebServerException
        Specified by:
        stop in interface org.springframework.boot.web.server.WebServer
        Throws:
        org.springframework.boot.web.server.WebServerException
      • getPort

        public int getPort()
        Specified by:
        getPort in interface org.springframework.boot.web.server.WebServer