Package dev.dosya.sdk.internal
Class DosyaHttpClient
java.lang.Object
dev.dosya.sdk.internal.DosyaHttpClient
Internal HTTP client that handles request execution, retries, and serialization.
This class is internal to the SDK and should not be used directly by consumers.
- Since:
- 0.1.0
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoFetch(HttpRequest req) static String<T> T<T> Tlongcom.google.gson.GsongetGson()longintcom.google.gson.JsonObjectrequest(HttpRequest req) <T> TrequestAs(HttpRequest req, Class<T> type) <T> TrequestAs(HttpRequest req, Type type) com.google.gson.JsonElementtoJsonTree(Object src)
-
Constructor Details
-
DosyaHttpClient
-
-
Method Details
-
request
-
requestAs
-
requestAs
-
fromJson
-
fromJson
-
toJsonTree
-
doFetch
-
getGson
public com.google.gson.Gson getGson() -
getMaxRetries
public int getMaxRetries() -
getBaseDelay
public long getBaseDelay() -
getMaxDelay
public long getMaxDelay() -
getBaseUrl
-
encode
-