class ProxyModeToggle implements ApplicationListener<ContextRefreshedEvent> {

    public void switchProxyModeOff() {
        if (requestProcessor.containsProcessor(routerProcessor)) {
            requestProcessor.enableProcessor(routerProcessor);
        }
    }

}