@Beta public class MultichainRequest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MultichainRequest.MultichainFunction
Functions which are currently supported in the sdk.
|
Constructor and Description |
---|
MultichainRequest(String multichainFunction,
List<Object> params,
MultichainDestination destination)
creates new MultichainRequest
|
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<String> |
execute()
Executes the HTTP call
|
public MultichainRequest(@Nonnull String multichainFunction, @Nonnull List<Object> params, @Nonnull MultichainDestination destination)
multichainFunction
- string name of the method you want to execute on serviceparams
- params for the previously given methoddestination
- on which service node should the request be performed@Nonnull public org.springframework.http.ResponseEntity<String> execute() throws MultichainException, MultichainServiceException
MultichainException
- If HTTP call failsMultichainServiceException
- If parsing the answer failsCopyright © 2019 SAP SE. All rights reserved.