Package africa.sendbyte.http
Class RequestExecutor
java.lang.Object
africa.sendbyte.http.RequestExecutor
Central request pipeline: builds the URL, serializes the body, delegates to the
HttpTransport, and turns the raw response into either a typed model or a
SendByteException.
Internal SDK type shared by all resource classes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Texecute(SendByteHttpRequest request, Class<T> type) Execute a request and deserialize the success body intotype.<T> CompletableFuture<T> executeAsync(SendByteHttpRequest request, Class<T> type) Execute a request asynchronously and deserialize the success body intotype.json()
-
Constructor Details
-
RequestExecutor
-
-
Method Details
-
json
-
execute
Execute a request and deserialize the success body intotype. -
executeAsync
Execute a request asynchronously and deserialize the success body intotype.
-