Class HttpServerBuilder

java.lang.Object
io.vertx.rxjava3.core.http.HttpServerBuilder
All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate

public class HttpServerBuilder extends Object implements io.vertx.lang.rx.RxDelegate
A builder for HttpServer.

NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

  • Field Details

    • __TYPE_ARG

      public static final io.vertx.lang.rx.TypeArg<HttpServerBuilder> __TYPE_ARG
  • Constructor Details

    • HttpServerBuilder

      public HttpServerBuilder(HttpServerBuilder delegate)
    • HttpServerBuilder

      public HttpServerBuilder(Object delegate)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getDelegate

      public HttpServerBuilder getDelegate()
      Specified by:
      getDelegate in interface io.vertx.lang.rx.RxDelegate
    • with

      public HttpServerBuilder with(HttpServerConfig config)
      Configure the server.
      Parameters:
      config - the server config
      Returns:
      a reference to this, so the API can be used fluently
    • with

      public HttpServerBuilder with(ServerSSLOptions options)
      Configure the server with the given SSL options.
      Parameters:
      options - the SSL options
      Returns:
      a reference to this, so the API can be used fluently
    • with

      public HttpServerBuilder with(SSLEngineOptions engine)
      Configure the server with the given SSL engine.
      Parameters:
      engine - the SSL engine options
      Returns:
      a reference to this, so the API can be used fluently
    • withConnectHandler

      public HttpServerBuilder withConnectHandler(Handler<HttpConnection> handler)
      Set a connection handler for the server. This handler is called when a new connection is established.
      Parameters:
      handler -
      Returns:
      a reference to this, so the API can be used fluently
    • build

      public HttpServer build()
      Build and return the server.
      Returns:
      the server as configured by this builder
    • newInstance

      public static HttpServerBuilder newInstance(HttpServerBuilder arg)