spring-projects / spring-framework

Spring Framework
https://spring.io/projects/spring-framework
Apache License 2.0
56.47k stars 38.09k forks source link

JDK HttpClient WebSocket integration with WebSocketClient [SPR-16471] #21016

Open spring-projects-issues opened 6 years ago

spring-projects-issues commented 6 years ago

Rossen Stoyanchev opened SPR-16471 and commented

The JDK HttpClient documentation shows there is also a WebSocket client in the same package. Along the same lines as #21014 we need to try it now and aim to integrate with JDK 11 for 5.2.

At present, unlike HttpClient, the WebClient API does not explicitly expose Reactive Streams contracts. It does however provide flow control on the reading side where you must first request the number of messages to receive. On the writing side it's sending one message at a time with a CompletableFuture notification.


Affects: 5.0.3

Issue Links:

spring-projects-issues commented 6 years ago

Joakim Erdfelt commented

Stable documentation link locations for description.

JDK 10 (jdk.incubator.http package) - https://docs.oracle.com/javase/10/docs/api/jdk/incubator/http/package-summary.html