@Override
        public com.yahoo.processing.Response process(com.yahoo.processing.Request request, Execution execution) {
            try {
                InputStream stream = ((com.yahoo.container.jdisc.HttpRequest)request.properties().get(com.yahoo.processing.Request.JDISC_REQUEST)).getData();
                StringBuilder b = new StringBuilder();
                int nextRead;
                while (-1 != (nextRead = stream.read()))
                    b.appendCodePoint(nextRead);
                bodyDataFuture.set(b.toString());
                return execution.process(request);
            }
            catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
Tests that the ResponseStatus takes precedence over errors
container-core/src/test/java/com/yahoo/processing/handler/ProcessingHandlerTestCase.java