code: public boolean replaceInterceptor(CommandInterceptor replacingInterceptor,
                                       Class<? extends CommandInterceptor> toBeReplacedInterceptorType) {
        return asyncInterceptorChain.replaceInterceptor(replacingInterceptor, toBeReplacedInterceptorType);
     }
docs: Replaces an existing interceptor of the given type in the interceptor chain with a new interceptor instance passed as parameter.
  
  @param replacingInterceptor        the interceptor to add to the interceptor chain
  @param toBeReplacedInterceptorType the type of interceptor that should be swapped with the new one
  @return true if the interceptor was replaced