
software.crldev.elrondspringbootstarterreactive.client.ErdProxyClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elrond-spring-boot-starter-reactive Show documentation
Show all versions of elrond-spring-boot-starter-reactive Show documentation
A SpringBoot Starter solution designed to ensure easy and efficient integration with the Elrond Network using a Reactive API layer.
The newest version!
package software.crldev.elrondspringbootstarterreactive.client;
import reactor.core.publisher.Mono;
/**
* Proxy client used for interaction with Elrond Gateway
*
* @author carlo_stanciu
*/
public interface ErdProxyClient {
/**
* Used for GET HTTP method
*
* @param uri - resource URI
* @param responseType - response class type object type for deserialization
* @param - response object
* @return - instance of response object T
*/
Mono get(String uri, Class responseType);
/**
* Used for POST HTTP method
*
* @param uri - resource URI
* @param payload - request body
* @param responseType - response class type object type for deserialization
* @param - response object
* @param - payload object
* @return - instance of response object T
*/
Mono post(String uri, P payload, Class responseType);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy