Class HttpServerBuilder
java.lang.Object
io.vertx.reactivex.core.http.HttpServerBuilder
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHttpServerBuilder(HttpServerBuilder delegate) HttpServerBuilder(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build and return the server.booleaninthashCode()static HttpServerBuildertoString()with(HttpServerConfig config) Configure the server.with(ServerSSLOptions options) Configure the server with the given SSLoptions.with(SSLEngineOptions engine) Configure the server with the given SSLengine.withConnectHandler(Handler<HttpConnection> handler) Set a connection handler for the server.
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
HttpServerBuilder
-
HttpServerBuilder
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
with
Configure the server.- Parameters:
config- the server config- Returns:
- a reference to this, so the API can be used fluently
-
with
Configure the server with the given SSLoptions.- Parameters:
options- the SSL options- Returns:
- a reference to this, so the API can be used fluently
-
with
Configure the server with the given SSLengine.- Parameters:
engine- the SSL engine options- Returns:
- a reference to this, so the API can be used fluently
-
withConnectHandler
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
Build and return the server.- Returns:
- the server as configured by this builder
-
newInstance
-