Package | Description |
---|---|
io.vertx.rxjava.core | |
io.vertx.rxjava.core.http |
Modifier and Type | Method and Description |
---|---|
HttpServer |
Vertx.createHttpServer()
Create an HTTP/HTTPS server using default options
|
HttpServer |
Vertx.createHttpServer(io.vertx.core.http.HttpServerOptions options)
Create an HTTP/HTTPS server using the specified options
|
Modifier and Type | Field and Description |
---|---|
static TypeArg<HttpServer> |
HttpServer.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
HttpServer |
HttpServer.connectionHandler(io.vertx.core.Handler<HttpConnection> handler)
Set a connection handler for the server.
|
HttpServer |
HttpServer.exceptionHandler(io.vertx.core.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.listen()
Like
listen(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.core.http.HttpServer>>) but supplying a handler that will be called when the server is actually listening (or has failed). |
HttpServer |
HttpServer.listen(io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpServer>> listenHandler)
Like
listen(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.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)
Like
listen(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.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,
io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpServer>> listenHandler)
Like
listen(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.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)
Like
listen(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.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,
io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpServer>> listenHandler)
Like
listen(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.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,
io.vertx.core.Handler<io.vertx.core.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(io.vertx.core.http.HttpServer arg) |
HttpServer |
HttpServer.requestHandler(io.vertx.core.Handler<HttpServerRequest> handler)
Set the request handler for the server to
requestHandler . |
HttpServer |
HttpServer.webSocketHandler(io.vertx.core.Handler<ServerWebSocket> handler)
Set the WebSocket handler for the server to
wsHandler . |
Modifier and Type | Method and Description |
---|---|
rx.Single<HttpServer> |
HttpServer.rxListen()
Like
listen(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.core.http.HttpServer>>) but supplying a handler that will be called when the server is actually listening (or has failed). |
rx.Single<HttpServer> |
HttpServer.rxListen(int port)
Like
listen(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.core.http.HttpServer>>) but supplying a handler that will be called when the server is actually listening (or has failed). |
rx.Single<HttpServer> |
HttpServer.rxListen(int port,
String host)
Like
listen(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.core.http.HttpServer>>) but supplying a handler that will be called when the server is actually
listening (or has failed). |
rx.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).
|
Modifier and Type | Method and Description |
---|---|
HttpServer |
HttpServer.listen(io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpServer>> listenHandler)
Like
listen(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.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,
io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpServer>> listenHandler)
Like
listen(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.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,
io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpServer>> listenHandler)
Like
listen(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.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,
io.vertx.core.Handler<io.vertx.core.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).
|
Copyright © 2020 Eclipse. All rights reserved.