Interface RemoteSystemClient

All Known Implementing Classes:
DefaultRemoteSystemClient

public interface RemoteSystemClient
REST interface to a remote system.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<Map>
    post(@NotNull ConsumedDestinationModel destination, org.springframework.http.HttpEntity<Map<String,Object>> entity)
    Performs POST request to the remote system.
  • Method Details

    • post

      org.springframework.http.ResponseEntity<Map> post(@NotNull @NotNull ConsumedDestinationModel destination, org.springframework.http.HttpEntity<Map<String,Object>> entity)
      Performs POST request to the remote system.
      Parameters:
      destination - a remote system info, e.g. URL, to which the request has to be sent.
      entity - an entity to use for the POST request body.
      Returns:
      result of the POST request.