Package ai.waii
Class WaiiHttpClient
java.lang.Object
ai.waii.WaiiHttpClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<Type> TypecommonFetch(String endpoint, String jsonParams, Class<Type> clazz) commonFetchRaw(String endpoint, String jsonParams) getOrgId()getScope()voidvoidvoid
-
Constructor Details
-
WaiiHttpClient
-
-
Method Details
-
setScope
-
getScope
-
setOrgId
-
getOrgId
-
setUserId
-
getUserId
-
commonFetchRaw
- Throws:
IOException
-
commonFetch
public <Type> Type commonFetch(String endpoint, String jsonParams, Class<Type> clazz) throws IOException - Throws:
IOException
-