Uses of Class
io.vertx.mutiny.core.http.WebSocket
Packages that use WebSocket
-
Uses of WebSocket in io.vertx.mutiny.core.http
Subclasses of WebSocket in io.vertx.mutiny.core.httpModifier and TypeClassDescriptionclassRepresents a client-side WebSocket.classRepresents a server side WebSocket.Fields in io.vertx.mutiny.core.http with type parameters of type WebSocketMethods in io.vertx.mutiny.core.http that return WebSocketModifier and TypeMethodDescriptionWebSocket.binaryMessageHandler(Consumer<io.vertx.core.buffer.Buffer> handler) WebSocket.closeAndForget()Close the WebSocket sending the default close frame.WebSocket.closeAndForget(short arg0) Close the WebSocket sending a close frame with specified status code.WebSocket.closeAndForget(short arg0, String arg1) Close sending a close frame with specified status code and reason.WebSocket.closeHandler(Runnable handler) ClientWebSocket.connectAndAwait(int port, String host, String requestURI) Connect this WebSocket to the specified port, host and relative request URI.ClientWebSocket.connectAndAwait(io.vertx.core.http.WebSocketConnectOptions options) Connect this WebSocket with the specified options.ClientWebSocket.connectAndAwait(String requestURI) Connect this WebSocket at the relative request URI using the default host and port.ClientWebSocket.connectAndAwait(String host, String requestURI) Connect this WebSocket to the host and relative request URI and default port.WebSocketClient.connectAndAwait(int port, String host, String requestURI) Connect a WebSocket to the specified port, host and relative request URI.WebSocketClient.connectAndAwait(io.vertx.core.http.WebSocketConnectOptions options) Connect a WebSocket with the specified options.WebSocketClient.connectAndAwait(String requestURI) Connect a WebSocket to the default client port, default client host and specified, relative request URI.WebSocketClient.connectAndAwait(String host, String requestURI) Connect a WebSocket to the default client port and specified host and relative request URI.WebSocket.drainHandler(Runnable handler) WebSocket.endAndForget()Callsclose()WebSocket.endAndForget(io.vertx.core.buffer.Buffer arg0) Same asend()but writes some data to the stream before ending.WebSocket.endHandler(Runnable endHandler) WebSocket.exceptionHandler(Consumer<Throwable> handler) WebSocket.fetch(long amount) WebSocket.frameHandler(Consumer<io.vertx.core.http.WebSocketFrame> handler) static WebSocketWebSocket.newInstance(io.vertx.core.http.WebSocket delegate) Creates a new instance of theWebSocket.WebSocket.pause()WebSocket.pipeToAndForget(WriteStream<io.vertx.core.buffer.Buffer> arg0) Pipe thisReadStreamto theWriteStream.WebSocket.pongHandler(Consumer<io.vertx.core.buffer.Buffer> handler) WebSocket.resume()WebSocket.setWriteQueueMaxSize(int maxSize) WebSocket.shutdownAndForget()Likeshutdown(long, TimeUnit, short, String)with a 30 seconds timeout, the status code1000anullreason.WebSocket.shutdownAndForget(long arg0, TimeUnit arg1) Likeshutdown(long, TimeUnit, short, String)with a 30 seconds timeout.WebSocket.shutdownAndForget(long arg0, TimeUnit arg1, short arg2) Callsshutdown(long, TimeUnit, short, String)with anullreason.WebSocket.shutdownAndForget(long arg0, TimeUnit arg1, short arg2, String arg3) WebSocket.shutdownAndForget(short arg0) Likeshutdown(long, TimeUnit, short, String)with a 30 seconds timeout and anullreason.WebSocket.shutdownAndForget(short arg0, String arg1) Likeshutdown(long, TimeUnit, short, String)with a 30 seconds timeout.WebSocket.shutdownAndForget(Duration arg0) Likeshutdown(long, TimeUnit, short, String)with a 30 seconds timeout and anullreason.WebSocket.shutdownAndForget(Duration arg0, short arg1) Likeshutdown(long, TimeUnit, short, String)with a 30 seconds timeout.WebSocket.shutdownAndForget(Duration arg0, short arg1, String arg2) Callsshutdown(long, TimeUnit, short, String)with anullreason.WebSocket.shutdownHandler(Runnable handler) WebSocket.textMessageHandler(Consumer<String> handler) WebSocket.writeAndForget(io.vertx.core.buffer.Buffer arg0) Write some data to the stream.WebSocket.writeBinaryMessageAndForget(io.vertx.core.buffer.Buffer arg0) Writes a (potentially large) piece of binary data to the connection.WebSocket.writeFinalBinaryFrameAndForget(io.vertx.core.buffer.Buffer arg0) Write a final WebSocket binary frame to the connectionWebSocket.writeFinalTextFrameAndForget(String arg0) Write a final WebSocket text frame to the connectionWebSocket.writeFrameAndForget(io.vertx.core.http.WebSocketFrame arg0) Write a WebSocket frame to the connectionWebSocket.writePingAndForget(io.vertx.core.buffer.Buffer arg0) Writes a ping frame to the connection.WebSocket.writePongAndForget(io.vertx.core.buffer.Buffer arg0) Writes a pong frame to the connection.WebSocket.writeTextMessageAndForget(String arg0) Writes a (potentially large) piece of text data to the connection.Methods in io.vertx.mutiny.core.http that return types with arguments of type WebSocketModifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<WebSocket>Connect this WebSocket to the specified port, host and relative request URI.io.smallrye.mutiny.Uni<WebSocket>ClientWebSocket.connect(io.vertx.core.http.WebSocketConnectOptions options) Connect this WebSocket with the specified options.io.smallrye.mutiny.Uni<WebSocket>Connect this WebSocket at the relative request URI using the default host and port.io.smallrye.mutiny.Uni<WebSocket>Connect this WebSocket to the host and relative request URI and default port.io.smallrye.mutiny.Uni<WebSocket>Connect a WebSocket to the specified port, host and relative request URI.io.smallrye.mutiny.Uni<WebSocket>WebSocketClient.connect(io.vertx.core.http.WebSocketConnectOptions options) Connect a WebSocket with the specified options.io.smallrye.mutiny.Uni<WebSocket>Connect a WebSocket to the default client port, default client host and specified, relative request URI.io.smallrye.mutiny.Uni<WebSocket>Connect a WebSocket to the default client port and specified host and relative request URI.