Uses of Class
io.vertx.reactivex.core.http.HttpServer
-
Packages that use HttpServer Package Description io.vertx.reactivex.core io.vertx.reactivex.core.http -
-
Uses of HttpServer in io.vertx.reactivex.core
Methods in io.vertx.reactivex.core that return HttpServer Modifier and Type Method Description HttpServer
Vertx. createHttpServer()
Create an HTTP/HTTPS server using default optionsHttpServer
Vertx. createHttpServer(HttpServerOptions options)
Create an HTTP/HTTPS server using the specified options -
Uses of HttpServer in io.vertx.reactivex.core.http
Fields in io.vertx.reactivex.core.http with type parameters of type HttpServer Modifier and Type Field Description static TypeArg<HttpServer>
HttpServer. __TYPE_ARG
Methods in io.vertx.reactivex.core.http that return HttpServer Modifier and Type Method 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 ahandler
for handling invalid requests.HttpServer
HttpServer. listen()
Likelisten(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServer>>)
but supplying a handler that will be called when the server is actually listening (or has failed).HttpServer
HttpServer. listen(int port)
Likelisten(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServer>>)
but supplying a handler that will be called when the server is actually listening (or has failed).HttpServer
HttpServer. listen(int port, Handler<AsyncResult<HttpServer>> listenHandler)
Likelisten(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServer>>)
but supplying a handler that will be called when the server is actually listening (or has failed).HttpServer
HttpServer. listen(int port, String host)
Likelisten(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServer>>)
but supplying a handler that will be called when the server is actually listening (or has failed).HttpServer
HttpServer. listen(int port, String host, Handler<AsyncResult<HttpServer>> listenHandler)
Likelisten(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServer>>)
but supplying a handler that will be called when the server is actually listening (or has failed).HttpServer
HttpServer. listen(Handler<AsyncResult<HttpServer>> listenHandler)
Likelisten(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServer>>)
but supplying a handler that will be called when the server is actually listening (or has failed).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).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).static HttpServer
HttpServer. newInstance(HttpServer arg)
HttpServer
HttpServer. requestHandler(Handler<HttpServerRequest> handler)
Set the request handler for the server torequestHandler
.HttpServer
HttpServer. webSocketHandler(Handler<ServerWebSocket> handler)
Set the WebSocket handler for the server towsHandler
.Methods in io.vertx.reactivex.core.http that return types with arguments of type HttpServer Modifier and Type Method Description io.reactivex.Single<HttpServer>
HttpServer. rxListen()
Likelisten(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServer>>)
but supplying a handler that will be called when the server is actually listening (or has failed).io.reactivex.Single<HttpServer>
HttpServer. rxListen(int port)
Likelisten(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServer>>)
but supplying a handler that will be called when the server is actually listening (or has failed).io.reactivex.Single<HttpServer>
HttpServer. rxListen(int port, String host)
Likelisten(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServer>>)
but supplying a handler that will be called when the server is actually listening (or has failed).io.reactivex.Single<HttpServer>
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).Method parameters in io.vertx.reactivex.core.http with type arguments of type HttpServer Modifier and Type Method Description HttpServer
HttpServer. listen(int port, Handler<AsyncResult<HttpServer>> listenHandler)
Likelisten(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServer>>)
but supplying a handler that will be called when the server is actually listening (or has failed).HttpServer
HttpServer. listen(int port, String host, Handler<AsyncResult<HttpServer>> listenHandler)
Likelisten(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServer>>)
but supplying a handler that will be called when the server is actually listening (or has failed).HttpServer
HttpServer. listen(Handler<AsyncResult<HttpServer>> listenHandler)
Likelisten(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServer>>)
but supplying a handler that will be called when the server is actually listening (or has failed).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).
-