public interface RestHelper
| Modifier and Type | Method and Description |
|---|---|
java.util.function.Supplier<Object> |
requestAsync(RestRequestDTO request)
Request to send/receive HTTP requests and return the response asynchronously.
|
<T> T |
requestSync(RestRequestDTO request)
Request to send/receive HTTP requests and return the response synchronously.
|
<T> T requestSync(RestRequestDTO request) throws RestServiceException
T - the generic typerequest - the requestRestServiceException - the rest service exceptionjava.util.function.Supplier<Object> requestAsync(RestRequestDTO request)
request - the requestCopyright © 2020. All rights reserved.