Uses of Class
io.vertx.mutiny.core.http.HttpServer
Packages that use HttpServer
-
Uses of HttpServer in io.vertx.mutiny.core
Methods in io.vertx.mutiny.core that return HttpServerModifier and TypeMethodDescriptionVertx.createHttpServer()Create an HTTP/HTTPS server using default config.Vertx.createHttpServer(io.vertx.core.http.HttpServerConfig config) Create an HTTP server using the specifiedconfig.Vertx.createHttpServer(io.vertx.core.http.HttpServerConfig config, io.vertx.core.net.ServerSSLOptions sslOptions) Create an HTTP server using the specified config and the specifiedsslOptionsVertx.createHttpServer(io.vertx.core.http.HttpServerOptions options) Create an HTTP/HTTPS server using the specifiedoptionsVertx.createHttpServer(io.vertx.core.net.ServerSSLOptions sslOptions) Create an HTTP server using default config and the specifiedsslOptions. -
Uses of HttpServer in io.vertx.mutiny.core.http
Fields in io.vertx.mutiny.core.http with type parameters of type HttpServerMethods in io.vertx.mutiny.core.http that return HttpServerModifier and TypeMethodDescriptionHttpServerBuilder.build()Build and return the server.HttpServer.closeAndForget()Close the server.HttpServer.connectionHandler(Consumer<HttpConnection> handler) Set a connection handler for the server.HttpServer.exceptionHandler(Consumer<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(Consumer<HttpServerRequest> handler) Set ahandlerfor handling invalid requests.HttpServer.listenAndAwait()Tell the server to start listening.HttpServer.listenAndAwait(int port) Likelisten(int, String)but the server will listen on host "0.0.0.0" and port specified here ignoring any value in theio.vertx.mutiny.core.http.HttpServerOptionsthat was used when creating the server.HttpServer.listenAndAwait(int port, String host) Tell the server to start listening.HttpServer.listenAndAwait(io.vertx.core.net.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.listenAndForget()Tell the server to start listening.HttpServer.listenAndForget(int port) Likelisten(int, String)but the server will listen on host "0.0.0.0" and port specified here ignoring any value in theio.vertx.mutiny.core.http.HttpServerOptionsthat was used when creating the server.HttpServer.listenAndForget(int port, String host) Tell the server to start listening.HttpServer.listenAndForget(io.vertx.core.net.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).static HttpServerHttpServer.newInstance(io.vertx.core.http.HttpServer delegate) Creates a new instance of theHttpServer.HttpServer.requestHandler(Consumer<HttpServerRequest> handler) Set the request handler for the server torequestHandler.HttpServer.shutdownAndForget()Shutdown with a 30 seconds timeout (shutdown(Duration.ofSeconds(30))).HttpServer.shutdownAndForget(long timeout, TimeUnit unit) Callsshutdown(Duration).HttpServer.shutdownAndForget(Duration timeout) Initiate the server shutdown sequence.HttpServer.updateSSLOptionsAndForget(io.vertx.core.net.ServerSSLOptions options) Update the server with new SSLoptions, the update happens if the options object is valid and different from the existing options object.HttpServer.updateSSLOptionsAndForget(io.vertx.core.net.ServerSSLOptions options, boolean force) Update the server with new SSLoptions, the update happens if the options object is valid and different from the existing options object.HttpServer.updateTrafficShapingOptionsAndForget(io.vertx.core.net.TrafficShapingOptions options) Update the server with new trafficoptions, the update happens if the options object is valid and different from the existing options object.HttpServer.webSocketHandler(Consumer<ServerWebSocket> handler) Set the WebSocket handler for the server towsHandler.HttpServer.webSocketHandshakeHandler(Consumer<ServerWebSocketHandshake> handler) Set a handler for WebSocket handshake.Methods in io.vertx.mutiny.core.http that return types with arguments of type HttpServerModifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<HttpServer>HttpServer.listen()Tell the server to start listening.io.smallrye.mutiny.Uni<HttpServer>HttpServer.listen(int port) Likelisten(int, String)but the server will listen on host "0.0.0.0" and port specified here ignoring any value in theio.vertx.mutiny.core.http.HttpServerOptionsthat was used when creating the server.io.smallrye.mutiny.Uni<HttpServer>Tell the server to start listening.io.smallrye.mutiny.Uni<HttpServer>HttpServer.listen(io.vertx.core.net.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).