Hi Brian, On Wed, Jun 22, 2016 at 7:16 PM, Brian Clozel <[email protected]> wrote: > Hello, > > I've seen that one can register a `AsyncContentListener` on the client, in > order to asynchronously get content as it comes: > > `public void onContent(Response response, ByteBuffer content, Callback > callback)`. > > But I haven't found a way to handle flow control - i.e. the ability to > pause/resume the response content flow on the client side. Is there a way to > achieve this?
Yes. You notify the callback when you are ready to handle more content. -- Simone Bordet ---- http://cometd.org http://webtide.com Developer advice, training, services and support from the Jetty & CometD experts. _______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
