Support JdkClientHttpConnector in DefaultWebTestClientBuilder #29644
Labels
in: test
Issues in the test module
status: superseded
An issue that has been superseded by another
type: enhancement
A general enhancement
In
org.springframework.test.web.reactive.server.DefaultWebTestClientBuilder#initConnector
there are checks for Reactor Netty, Jetty and Apache Http for theClientHttpConnector
implementation. As there is now aJdkClientHttpConnector
which works without external dependencies, I think it would be nice ifDefaultWebTestClientBuilder
could fallback to that instead of throwing an exception.I don't know if there are more places which do this auto-detection of
ClientHttpConnector
, but if there are, it would be nice to update them to includeJdkClientHttpConnector
.The text was updated successfully, but these errors were encountered: