You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if DefaultWebClientBuilder#initExchangeFunction was smart enough to select the default ClientHttpConnector based upon classpath. This would make it so that it worked with both Netty and Jetty based ClientHttpConnector without needing to explicitly configure the ClientHttpConnector.
The text was updated successfully, but these errors were encountered:
rwinch
changed the title
DefaultWebClientBuilder initialize ClientHttpConnector by classpath
DefaultWebClientBuilder default ClientHttpConnector by classpath
Aug 20, 2019
rwinch
added a commit
to rwinch/spring-framework
that referenced
this issue
Aug 20, 2019
Previously DefaultWebClientBuilder always defaulted the ClientHttpConnector
with ReactorClientHttpConnector. This worked fine if reactor was used.
However, it would break if the user was trying to leverage Jetty.
This commit defaults to use Reactory Netty HttpClient if it is present. If
it is not present it then Jetty's HttpClient is used if present.
Closesspring-projectsgh-23491
Previously DefaultWebClientBuilder always defaulted the ClientHttpConnector
with ReactorClientHttpConnector. This worked fine if reactor was used.
However, it would break if the user was trying to leverage Jetty.
This commit defaults to use Reactory Netty HttpClient if it is present. If
it is not present it then Jetty's HttpClient is used if present.
Closesgh-23491
It would be nice if DefaultWebClientBuilder#initExchangeFunction was smart enough to select the default
ClientHttpConnector
based upon classpath. This would make it so that it worked with both Netty and Jetty basedClientHttpConnector
without needing to explicitly configure theClientHttpConnector
.The text was updated successfully, but these errors were encountered: