JDK-8156742 : Miscellaneous WebSocket API improvements
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-05-11
  • Updated: 2017-05-17
  • Resolved: 2016-06-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b125Fixed
Related Reports
Relates :  
Description
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`