Feature-Request: HttpResponse.BodyHandlers.ofReader or alternatively convenience function

2020-11-05 Thread Klaus Malorny
Hi, while the new HTTP client provides means to read text files as a single string or as a stream of lines, it actually does not provide any way to read the text via the Reader class. For many text types, the character encoding is not fixed by the format but may vary. Thus one cannot easily

Suggestion for the HTTP client: allow selection of a local address

2018-08-08 Thread Klaus Malorny
Hi, I just discussed with a colleague that we dreadfully miss the ability in the old HttpURLConnection to set the address to which the client locally binds, which we require to get through the firewalls of our business partners when connecting from a multihomed system. This repeatedly cause