Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8156650

Simplify Text message support in WebSocket API

XMLWordPrintable

    • 9
    • b123
    • Verified

      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.

            prappo Pavel Rappo (Inactive)
            prappo Pavel Rappo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: