code: protected SofaResponse doInvokeSync(SofaRequest request, int timeout) throws InterruptedException,
          ExecutionException, TimeoutException {
          HttpResponseFuture future = new HttpResponseFuture(request, timeout);
          AbstractHttpClientHandler callback = new SyncInvokeClientHandler(transportConfig.getConsumerConfig(),
              transportConfig.getProviderInfo(), future, request, RpcInternalContext.getContext(),
              ClassLoaderUtils.getCurrentClassLoader());
          future.setSentTime();
          doSend(request, callback, timeout);
          future.setSentTime();
          return future.getSofaResponse(timeout, TimeUnit.MILLISECONDS);
      }
docs: 同步调用
  
  @param request 请求对象
  @param timeout 超时时间（毫秒）
  @return 返回对象
  @throws InterruptedException 中断异常
  @throws ExecutionException   执行异常
  @throws TimeoutException     超时异常