public SagaResponse send()

in saga-format/src/main/java/org/apache/servicecomb/saga/format/JacksonRestOperation.java [57:70]


  public SagaResponse send(String address, SagaResponse response) {
    Map<String, Map<String, String>> updated = new HashMap<>(params());
    // This is not thread safe
    if (updated.get("form") == null) {
      updated.put("form", new HashMap<String, String>());
    }
    updated.get("form").put("response", response.body());

    return transport.with(
        address,
        path(),
        method(),
        updated);
  }