Uses of Class
io.vertx.reactivex.core.http.HttpServer
Packages that use HttpServer
-
Uses of HttpServer in io.vertx.reactivex.core
Methods in io.vertx.reactivex.core that return HttpServerModifier and TypeMethodDescriptionVertx.createHttpServer()Create an HTTP/HTTPS server using default config.Vertx.createHttpServer(HttpServerConfig config) Create an HTTP server using the specifiedconfig.Vertx.createHttpServer(HttpServerConfig config, ServerSSLOptions sslOptions) Create an HTTP server using the specified config and the specifiedsslOptionsVertx.createHttpServer(HttpServerOptions options) Create an HTTP/HTTPS server using the specifiedoptionsVertx.createHttpServer(ServerSSLOptions sslOptions) Create an HTTP server using default config and the specifiedsslOptions. -
Uses of HttpServer in io.vertx.reactivex.core.http
Fields in io.vertx.reactivex.core.http with type parameters of type HttpServerModifier and TypeFieldDescriptionstatic final io.vertx.lang.rx.TypeArg<HttpServer> HttpServer.__TYPE_ARGMethods in io.vertx.reactivex.core.http that return HttpServerModifier and TypeMethodDescriptionHttpServerBuilder.build()Build and return the server.HttpServer.connectionHandler(Handler<HttpConnection> handler) Set a connection handler for the server.HttpServer.exceptionHandler(Handler<Throwable> handler) Set an exception handler called for socket errors happening before the HTTP connection is established, e.g. during the TLS handshake.HttpServer.invalidRequestHandler(Handler<HttpServerRequest> handler) Set ahandlerfor handling invalid requests.static HttpServerHttpServer.newInstance(HttpServer arg) HttpServer.requestHandler(Handler<HttpServerRequest> handler) Set the request handler for the server torequestHandler.HttpServer.webSocketHandler(Handler<ServerWebSocket> handler) Set the WebSocket handler for the server towsHandler.HttpServer.webSocketHandshakeHandler(Handler<ServerWebSocketHandshake> handler) Set a handler for WebSocket handshake.Methods in io.vertx.reactivex.core.http that return types with arguments of type HttpServerModifier and TypeMethodDescriptionHttpServer.listen()Tell the server to start listening.HttpServer.listen(int port) LikeHttpServer.listen()but the server will listen on host "0.0.0.0" and port specified here ignoring any value in theHttpServerOptionsthat was used when creating the server.Tell the server to start listening.HttpServer.listen(SocketAddress address) Tell the server to start listening on the given address supplying a handler that will be called when the server is actually listening (or has failed).HttpServer.rxListen()Tell the server to start listening.HttpServer.rxListen(int port) LikeHttpServer.listen()but the server will listen on host "0.0.0.0" and port specified here ignoring any value in theHttpServerOptionsthat was used when creating the server.Tell the server to start listening.HttpServer.rxListen(SocketAddress address) Tell the server to start listening on the given address supplying a handler that will be called when the server is actually listening (or has failed).