@Override
                    public void failed(Throwable x) {
                        responseCompletion.completeExceptionally(x);
                        completeAndFinishTask(task.handler, h -> h.failed(x));
                        metricReporter.failedWrite();
                    }
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