Uses of Class
io.vertx.mutiny.core.http.WebSocketBase.WebSocketBaseImpl
Packages that use WebSocketBase.WebSocketBaseImpl
-
Uses of WebSocketBase.WebSocketBaseImpl in io.vertx.mutiny.core.http
Methods in io.vertx.mutiny.core.http that return WebSocketBase.WebSocketBaseImplModifier and TypeMethodDescriptionWebSocketBase.WebSocketBaseImpl.binaryMessageHandler(Consumer<io.vertx.core.buffer.Buffer> handler) Set a binary message handler on the connection.WebSocketBase.WebSocketBaseImpl.closeAndForget()Close the WebSocket sending the default close frame.WebSocketBase.WebSocketBaseImpl.closeAndForget(short statusCode) Close the WebSocket sending a close frame with specified status code.WebSocketBase.WebSocketBaseImpl.closeAndForget(short statusCode, String reason) Close sending a close frame with specified status code and reason.WebSocketBase.WebSocketBaseImpl.closeHandler(Runnable handler) Set a close handler.WebSocketBase.WebSocketBaseImpl.endAndForget()Callsclose()WebSocketBase.WebSocketBaseImpl.endAndForget(io.vertx.core.buffer.Buffer arg0) Same asend()but writes some data to the stream before ending.WebSocketBase.WebSocketBaseImpl.frameHandler(Consumer<io.vertx.core.http.WebSocketFrame> handler) Set a frame handler on the connection.WebSocketBase.WebSocketBaseImpl.pipeToAndForget(WriteStream<io.vertx.core.buffer.Buffer> arg0) Pipe thisReadStreamto theWriteStream.WebSocketBase.WebSocketBaseImpl.pongHandler(Consumer<io.vertx.core.buffer.Buffer> handler) Set a pong frame handler on the connection.WebSocketBase.WebSocketBaseImpl.shutdownAndForget()Likeshutdown(long, TimeUnit, short, String)with a 30 seconds timeout, the status code1000anullreason.WebSocketBase.WebSocketBaseImpl.shutdownAndForget(long timeout, TimeUnit unit) WebSocketBase.WebSocketBaseImpl.shutdownAndForget(long timeout, TimeUnit unit, short statusCode) Callsshutdown(long, TimeUnit, short, String)with anullreason.WebSocketBase.WebSocketBaseImpl.shutdownAndForget(long timeout, TimeUnit unit, short statusCode, String reason) WebSocketBase.WebSocketBaseImpl.shutdownAndForget(short statusCode) Likeshutdown(long, TimeUnit, short, String)with a 30 seconds timeout and anullreason.WebSocketBase.WebSocketBaseImpl.shutdownAndForget(short statusCode, String reason) Likeshutdown(long, TimeUnit, short, String)with a 30 seconds timeout.WebSocketBase.WebSocketBaseImpl.shutdownAndForget(Duration timeout) WebSocketBase.WebSocketBaseImpl.shutdownAndForget(Duration timeout, short statusCode) Callsshutdown(Duration, short, String)with anullreason.WebSocketBase.WebSocketBaseImpl.shutdownAndForget(Duration timeout, short statusCode, String reason) Initiate a graceful WebSocket shutdown, the shutdown handler is notified and shall close the WebSocket, otherwise after atimeoutthe WebSocket will be closed.WebSocketBase.WebSocketBaseImpl.shutdownHandler(Runnable handler) Set ahandlernotified when the WebSocket is shutdown: the client or server will close the connection within a certain amount of time.WebSocketBase.WebSocketBaseImpl.textMessageHandler(Consumer<String> handler) Set a text message handler on the connection.WebSocketBase.WebSocketBaseImpl.writeAndForget(io.vertx.core.buffer.Buffer arg0) Write some data to the stream.WebSocketBase.WebSocketBaseImpl.writeBinaryMessageAndForget(io.vertx.core.buffer.Buffer data) Writes a (potentially large) piece of binary data to the connection.WebSocketBase.WebSocketBaseImpl.writeFinalBinaryFrameAndForget(io.vertx.core.buffer.Buffer data) Write a final WebSocket binary frame to the connectionWebSocketBase.WebSocketBaseImpl.writeFinalTextFrameAndForget(String text) Write a final WebSocket text frame to the connectionWebSocketBase.WebSocketBaseImpl.writeFrameAndForget(io.vertx.core.http.WebSocketFrame frame) Write a WebSocket frame to the connectionWebSocketBase.WebSocketBaseImpl.writePingAndForget(io.vertx.core.buffer.Buffer data) Writes a ping frame to the connection.WebSocketBase.WebSocketBaseImpl.writePongAndForget(io.vertx.core.buffer.Buffer data) Writes a pong frame to the connection.WebSocketBase.WebSocketBaseImpl.writeTextMessageAndForget(String text) Writes a (potentially large) piece of text data to the connection.