Interface RemoteSystemClient
-
- All Known Implementing Classes:
DefaultRemoteSystemClient
public interface RemoteSystemClientREST interface to a remote system.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<java.util.Map>post(@NotNull ConsumedDestinationModel destination, org.springframework.http.HttpEntity<java.util.Map<java.lang.String,java.lang.Object>> entity)Performs POST request to the remote system.
-
-
-
Method Detail
-
post
org.springframework.http.ResponseEntity<java.util.Map> post(@NotNull @NotNull ConsumedDestinationModel destination, org.springframework.http.HttpEntity<java.util.Map<java.lang.String,java.lang.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.
-
-