In order to simplify handling of Text messages for both the user and the default implementation:
1. Substitute java.net.http.WebSocket.Text type with java.lang.CharSequence
2. Remove method CompletableFuture<Void> sendText(ByteBuffer message, boolean isLast)
3. Update spec guarantees on CharSequences received and sent.
1. Substitute java.net.http.WebSocket.Text type with java.lang.CharSequence
2. Remove method CompletableFuture<Void> sendText(ByteBuffer message, boolean isLast)
3. Update spec guarantees on CharSequences received and sent.
- relates to
-
JDK-8087113 Websocket API and implementation
-
- Closed
-