Uses of Class
io.vertx.mutiny.core.http.ServerWebSocket
Packages that use ServerWebSocket
-
Uses of ServerWebSocket in io.vertx.mutiny.core.http
Fields in io.vertx.mutiny.core.http with type parameters of type ServerWebSocketModifier and TypeFieldDescriptionstatic final TypeArg<ServerWebSocket>ServerWebSocket.__TYPE_ARGMethods in io.vertx.mutiny.core.http that return ServerWebSocketModifier and TypeMethodDescriptionServerWebSocketHandshake.acceptAndAwait()Accept the WebSocket and terminate the WebSocket handshake.ServerWebSocket.binaryMessageHandler(Consumer<io.vertx.core.buffer.Buffer> arg0) Set a binary message handler on the connection.ServerWebSocket.closeAndForget()Close the WebSocket sending the default close frame.ServerWebSocket.closeAndForget(short arg0) Close the WebSocket sending a close frame with specified status code.ServerWebSocket.closeAndForget(short arg0, String arg1) Close sending a close frame with specified status code and reason.ServerWebSocket.closeHandler(Runnable handler) ServerWebSocket.drainHandler(Runnable handler) ServerWebSocket.endAndForget()CallsWebSocket.close()ServerWebSocket.endAndForget(io.vertx.core.buffer.Buffer arg0) Same asend()but writes some data to the stream before ending.ServerWebSocket.endHandler(Runnable endHandler) ServerWebSocket.exceptionHandler(Consumer<Throwable> handler) ServerWebSocket.fetch(long amount) ServerWebSocket.frameHandler(Consumer<io.vertx.core.http.WebSocketFrame> handler) static ServerWebSocketServerWebSocket.newInstance(io.vertx.core.http.ServerWebSocket delegate) Creates a new instance of theServerWebSocket.ServerWebSocket.pause()ServerWebSocket.pipeToAndForget(WriteStream<io.vertx.core.buffer.Buffer> arg0) Pipe thisReadStreamto theWriteStream.ServerWebSocket.pongHandler(Consumer<io.vertx.core.buffer.Buffer> arg0) Set a pong frame handler on the connection.ServerWebSocket.resume()ServerWebSocket.setWriteQueueMaxSize(int maxSize) ServerWebSocket.shutdownAndForget()Likeshutdown(long, TimeUnit, short, String)with a 30 seconds timeout, the status code1000anullreason.ServerWebSocket.shutdownAndForget(long arg0, TimeUnit arg1) Likeshutdown(long, TimeUnit, short, String)with a 30 seconds timeout.ServerWebSocket.shutdownAndForget(long arg0, TimeUnit arg1, short arg2) Callsshutdown(long, TimeUnit, short, String)with anullreason.ServerWebSocket.shutdownAndForget(long arg0, TimeUnit arg1, short arg2, String arg3) ServerWebSocket.shutdownAndForget(short arg0) Likeshutdown(long, TimeUnit, short, String)with a 30 seconds timeout and anullreason.ServerWebSocket.shutdownAndForget(short arg0, String arg1) Likeshutdown(long, TimeUnit, short, String)with a 30 seconds timeout.ServerWebSocket.shutdownAndForget(Duration arg0) Likeshutdown(long, TimeUnit, short, String)with a 30 seconds timeout and anullreason.ServerWebSocket.shutdownAndForget(Duration arg0, short arg1) Likeshutdown(long, TimeUnit, short, String)with a 30 seconds timeout.ServerWebSocket.shutdownAndForget(Duration arg0, short arg1, String arg2) Callsshutdown(long, TimeUnit, short, String)with anullreason.ServerWebSocket.shutdownHandler(Runnable arg0) Set ahandlernotified when the WebSocket is shutdown: the client or server will close the connection within a certain amount of time.ServerWebSocket.textMessageHandler(Consumer<String> arg0) Set a text message handler on the connection.HttpServerRequest.toWebSocketAndAwait()Upgrade the connection of the current request to a WebSocket.ServerWebSocket.writeAndForget(io.vertx.core.buffer.Buffer arg0) Write some data to the stream.ServerWebSocket.writeBinaryMessageAndForget(io.vertx.core.buffer.Buffer arg0) Writes a (potentially large) piece of binary data to the connection.ServerWebSocket.writeFinalBinaryFrameAndForget(io.vertx.core.buffer.Buffer arg0) Write a final WebSocket binary frame to the connectionServerWebSocket.writeFinalTextFrameAndForget(String arg0) Write a final WebSocket text frame to the connectionServerWebSocket.writeFrameAndForget(io.vertx.core.http.WebSocketFrame arg0) Write a WebSocket frame to the connectionServerWebSocket.writePingAndForget(io.vertx.core.buffer.Buffer arg0) Writes a ping frame to the connection.ServerWebSocket.writePongAndForget(io.vertx.core.buffer.Buffer arg0) Writes a pong frame to the connection.ServerWebSocket.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 ServerWebSocketModifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<ServerWebSocket>ServerWebSocketHandshake.accept()Accept the WebSocket and terminate the WebSocket handshake.io.smallrye.mutiny.Uni<ServerWebSocket>HttpServerRequest.toWebSocket()Upgrade the connection of the current request to a WebSocket.Method parameters in io.vertx.mutiny.core.http with type arguments of type ServerWebSocketModifier and TypeMethodDescriptionHttpServer.webSocketHandler(Consumer<ServerWebSocket> handler) Set the WebSocket handler for the server towsHandler. -
Uses of ServerWebSocket in io.vertx.mutiny.ext.web.handler.graphql.ws
Methods in io.vertx.mutiny.ext.web.handler.graphql.ws that return ServerWebSocketMethod parameters in io.vertx.mutiny.ext.web.handler.graphql.ws with type arguments of type ServerWebSocketModifier and TypeMethodDescriptionGraphQLWSHandlerBuilder.onSocketEnd(Consumer<ServerWebSocket> endHandler) Customize the endHandler.