Package com.reign.api.kat
Class KatApi
java.lang.Object
com.reign.api.kat.KatApi
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpClient
static void
setAuthorization
(String host, String authentication) static void
setProvider
(IApiProvider provider) Sets the API Provider to be used when saving/loading data
Currently only have 2 providers:
- ApiHttpProvider: Connects to a HTTP api at a remote source
- ApiLocalProvider: Uses a file for storage.
-
Field Details
-
host
-
authStr
-
-
Constructor Details
-
KatApi
public KatApi()
-
-
Method Details
-
setAuthorization
-
setProvider
Sets the API Provider to be used when saving/loading data
Currently only have 2 providers:
- ApiHttpProvider: Connects to a HTTP api at a remote source
- ApiLocalProvider: Uses a file for storage. (Should only be used in dev environments!) -
getClient
-