if (!pipelingbuffer.flushPipelinedData()) {
sinkChannel.setWriteListener(new ChannelListener<StreamSinkChannel>() {
@Override
public void handleEvent(final StreamSinkChannel channel) {
try {
if (pipelingbuffer.flushPipelinedData()) {
channel.suspendWrites();
internalSendContinueResponse(exchange, channel, callback);
}
} catch (IOException e) {
callback.onException(exchange, null, e);