## Uses of Interface
io.vertx.core.http.HttpServer

- Packages that use HttpServer
  Package | Description
  --- | ---
  io.vertx.core |
  io.vertx.core.http |
  io.vertx.reactivex.core.http |
  io.vertx.rxjava.core.http |
  io.vertx.rxjava3.core.http |

- - ### Uses of HttpServer in io.vertx.core

    Methods in io.vertx.core that return HttpServer
    Modifier and Type | Method and Description
    --- | ---
    `default HttpServer` | Vertx.`createHttpServer()` Create an HTTP/HTTPS server using default options
    `HttpServer` | Vertx.`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 and Description
    --- | ---
    `HttpServer` | HttpServer.`connectionHandler(Handler<HttpConnection> handler)` Set a connection handler for the server.
    `HttpServer` | 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` | HttpServer.`invalidRequestHandler(Handler<HttpServerRequest> handler)` Set a `handler` for handling invalid requests.
    `default HttpServer` | HttpServer.`listen(Handler<AsyncResult<HttpServer>> listenHandler)` Like `listen()` but supplying a handler that will be called when the server is actually listening (or has failed).
    `default HttpServer` | HttpServer.`listen(int port, Handler<AsyncResult<HttpServer>> listenHandler)` Like `listen(int)` but supplying a handler that will be called when the server is actually listening (or has failed).
    `default HttpServer` | HttpServer.`listen(int port, String host, Handler<AsyncResult<HttpServer>> listenHandler)` Like `listen(int, String)` but supplying a handler that will be called when the server is actually listening (or has failed).
    `default HttpServer` | HttpServer.`listen(SocketAddress address, Handler<AsyncResult<HttpServer>> listenHandler)` 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` | HttpServer.`requestHandler(Handler<HttpServerRequest> handler)` Set the request handler for the server to `requestHandler`.
    `HttpServer` | HttpServer.`webSocketHandler(Handler<ServerWebSocket> handler)` Set the WebSocket handler for the server to `wsHandler`.
    `HttpServer` | HttpServer.`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 and Description
    --- | ---
    `Future<HttpServer>` | HttpServer.`listen()` Tell the server to start listening.
    `default Future<HttpServer>` | HttpServer.`listen(int port)` Like `listen(int, String)` but the server will listen on host "0.0.0.0" and port specified here ignoring any value in the `HttpServerOptions` that 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)` Like `listen(SocketAddress, Handler)` but returns a `Future` of the asynchronous result

    Method parameters in io.vertx.core.http with type arguments of type HttpServer
    Modifier and Type | Method and Description
    --- | ---
    `default HttpServer` | HttpServer.`listen(Handler<AsyncResult<HttpServer>> listenHandler)` Like `listen()` but supplying a handler that will be called when the server is actually listening (or has failed).
    `default HttpServer` | HttpServer.`listen(int port, Handler<AsyncResult<HttpServer>> listenHandler)` Like `listen(int)` but supplying a handler that will be called when the server is actually listening (or has failed).
    `default HttpServer` | HttpServer.`listen(int port, String host, Handler<AsyncResult<HttpServer>> listenHandler)` Like `listen(int, String)` but supplying a handler that will be called when the server is actually listening (or has failed).
    `default HttpServer` | HttpServer.`listen(SocketAddress address, Handler<AsyncResult<HttpServer>> listenHandler)` 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).

  - ### Uses of HttpServer in io.vertx.reactivex.core.http

    Methods in io.vertx.reactivex.core.http that return HttpServer
    Modifier and Type | Method and Description
    --- | ---
    `HttpServer` | HttpServer.`getDelegate()`

    Methods in io.vertx.reactivex.core.http with parameters of type HttpServer
    Modifier and Type | Method and Description
    --- | ---
    `static HttpServer` | HttpServer.`newInstance(HttpServer arg)`

    Constructors in io.vertx.reactivex.core.http with parameters of type HttpServer
    Constructor and Description
    `HttpServer(HttpServer delegate)`

  - ### Uses of HttpServer in io.vertx.rxjava.core.http

    Methods in io.vertx.rxjava.core.http that return HttpServer
    Modifier and Type | Method and Description
    --- | ---
    `HttpServer` | HttpServer.`getDelegate()`

    Methods in io.vertx.rxjava.core.http with parameters of type HttpServer
    Modifier and Type | Method and Description
    --- | ---
    `static HttpServer` | HttpServer.`newInstance(HttpServer arg)`

    Constructors in io.vertx.rxjava.core.http with parameters of type HttpServer
    Constructor and Description
    `HttpServer(HttpServer delegate)`

  - ### Uses of HttpServer in io.vertx.rxjava3.core.http

    Methods in io.vertx.rxjava3.core.http that return HttpServer
    Modifier and Type | Method and Description
    --- | ---
    `HttpServer` | HttpServer.`getDelegate()`

    Methods in io.vertx.rxjava3.core.http with parameters of type HttpServer
    Modifier and Type | Method and Description
    --- | ---
    `static HttpServer` | HttpServer.`newInstance(HttpServer arg)`

    Constructors in io.vertx.rxjava3.core.http with parameters of type HttpServer
    Constructor and Description
    `HttpServer(HttpServer delegate)`

Copyright © 2025 Eclipse. All rights reserved.