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

Miscellaneous WebSocket API improvements

XMLWordPrintable

    • 9
    • b125
    • Verified

      1. Change `Builder.connectTimeout(long, TimeUnit)` to `Builder.connectTimeout(Duration)`
      2. Change `long request(long)` to `void request(long)`
      3. Remove `java.net.http.WebSocket#sendBinary(byte[], boolean)`
      4. Remove `java.net.http.WebSocket#sendText(Stream<CharSequence>)`
      5. Remove `java.net.http.WebSocket.MessagePart#isLast`

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

              Created:
              Updated:
              Resolved: