Description
Okay i am pretty late with this one, as it was merged in october.
But this is a breaking change without any need, so there should be default implementations to the new methods.
In general, why do we hide the implementation behind an interface to later on expose methods enforcing a specific client implementation?
Additionally all the workarounds added to JdkHttpClients are bypassed by this methods, instead of just passing the BodyHandler implementation to use into the regular code path.
Reproducible Code
Description
Okay i am pretty late with this one, as it was merged in october.
But this is a breaking change without any need, so there should be default implementations to the new methods.
In general, why do we hide the implementation behind an interface to later on expose methods enforcing a specific client implementation?
Additionally all the workarounds added to JdkHttpClients are bypassed by this methods, instead of just passing the BodyHandler implementation to use into the regular code path.
Reproducible Code