class StubResponseProcessor {

    public byte[] processResponse(final HttpServletRequest req, final HttpServletResponse resp, final byte[] responseBody) {
        byte[] result = responseBody;
        for (ResponseProcessor processor : responseProcessors) {
            result = processor.process(req, resp, result);
        }
        return result;
    }

}