class BrowserMobResponseInterceptor implements ResponseInterceptor {

    @Override
    public void process(final BrowserMobHttpResponse response) {
        try {
            WilmaHttpResponse wilmaResponse = responseTransformer.transformResponse(response);
            responseProcessor.processResponse(wilmaResponse);
            browserMobResponseUpdater.updateResponse(response, wilmaResponse);
        } catch (ApplicationException e) {
            logger.error(e.getMessage(), e);
        }
    }

}