avaje/avaje-http-client

Add stream() ... for streaming beans from x-json-stream response

Closed this issue · 0 comments

Where a server returns application/x-json-stream which is json content new line delimited.

    final Stream<SimpleData> stream = clientContext.request()
      .GET()
      .stream(SimpleData.class);