@Override
                    public void succeeded() {
                        if (task.buf == null) responseCompletion.complete(null);
                        completeAndFinishTask(task.handler, CompletionHandler::completed);
                        if (task.buf != null) metricReporter.successfulWrite(task.buf.remaining());
                    }
A {@link ResponseHandler} that writes the response to Jetty ({@link org.eclipse.jetty.server.Response}).

@author bjorncs
container-core/src/main/java/com/yahoo/jdisc/http/server/jetty/JettyResponseWriter.java