Uses of Interface
HTTP Client and WebSocket APIs
Uses of WebSocket in java.net.httpModifier and TypeMethodDescriptionBuilds a
WebSocketconnected to the given
URIand associated with the given
Listener.Sends binary data with bytes from the given buffer.Initiates an orderly closure of this WebSocket's output by sending a Close message with the given status code and the reason.Sends a Ping message with bytes from the given buffer.Sends a Pong message with bytes from the given buffer.Sends textual data with characters from the given character sequence.Modifier and TypeMethodDescriptionA binary data has been received.Receives a Close message indicating the WebSocket's input has been closed.
default voidAn error has occurred.
WebSockethas been connected.A Ping message has been received.A Pong message has been received.A textual data has been received.