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

Simplify Text message support in WebSocket API

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      b123
    • Verification:
      Verified

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              prappo Pavel Rappo
              Reporter:
              prappo Pavel Rappo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: