Returns a reference to {@code this} so multiple operations can be appended together.
7677787980818283848586
// Append the body on synchronized (responseBody) { logger.info("Got body: " + event.length() + "bytes"); responseBody.appendBuffer(event); responseBody.notify(); } } }); }
250251252253254255256257258259260
// on synchronized (responseBody) { logger.info("Got body: " + event.length() + "bytes"); responseBody.appendBuffer(event); responseBody.notify(); } } }); }