Uses of Interface
io.vertx.core.http.HttpServer
-
Packages that use HttpServer Package Description io.vertx.core io.vertx.core.http -
-
Uses of HttpServer in io.vertx.core
Methods in io.vertx.core that return HttpServer Modifier and Type Method Description default HttpServerVertx. createHttpServer()Create an HTTP/HTTPS server using default optionsHttpServerVertx. createHttpServer(HttpServerOptions options)Create an HTTP/HTTPS server using the specified options -
Uses of HttpServer in io.vertx.core.http
Methods in io.vertx.core.http that return HttpServer Modifier and Type Method Description HttpServerHttpServer. connectionHandler(Handler<HttpConnection> handler)Set a connection handler for the server.HttpServerHttpServer. 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.HttpServerHttpServer. invalidRequestHandler(Handler<HttpServerRequest> handler)Set ahandlerfor handling invalid requests.HttpServerHttpServer. requestHandler(Handler<HttpServerRequest> handler)Set the request handler for the server torequestHandler.HttpServerHttpServer. webSocketHandler(Handler<ServerWebSocket> handler)Set the WebSocket handler for the server towsHandler.HttpServerHttpServer. webSocketHandshakeHandler(Handler<ServerWebSocketHandshake> handler)Set a handler for WebSocket handshake.Methods in io.vertx.core.http that return types with arguments of type HttpServer Modifier and Type Method Description Future<HttpServer>HttpServer. listen()Tell the server to start listening.default Future<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 theHttpServerOptionsthat was used when creating the server.default Future<HttpServer>HttpServer. listen(int port, String host)Tell the server to start listening.Future<HttpServer>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).
-