class CompositeHttpErrorStatusListener implements HttpErrorStatusListener {

    @Override
    public void proxyErrorOccurred(Throwable cause) {
        listeners.forEach(listener -> listener.proxyErrorOccurred(cause));
    }

    public  CompositeHttpErrorStatusListener(List<HttpErrorStatusListener> listeners);

}