gsdsdk / com.gsd.software.sdk.netconnector.request / SimpleRequest
class SimpleRequest :
AbstractRequest
<
GSDApi
,
ResponseObject
>
Created by konradrutkowski on 25.07.2017.
Name | Summary |
---|---|
<init> | SimpleRequest(encryptionInterceptor: EncryptionInterceptor , requestData: RequestData , accessData: AccessData , apiClass: Class < GSDApi >, handleSSL: Boolean ) Created by konradrutkowski on 25.07.2017. |
Name | Summary |
---|---|
accessData | var accessData: AccessData |
apiCall | var apiCall: T ? |
externalCallback | var externalCallback: NetDataLoadCallback < K >? |
gson | var gson: Gson? |
handleSSL | var handleSSL: Boolean |
headers | var headers: HashMap < String , String > |
id | val id: String |
internalCallback | var internalCallback: NetDataLoadCallback < K >? |
Name | Summary |
---|---|
databaseOpAfterSuccess | fun databaseOpAfterSuccess(gsdDao: GSDDao ): Unit |
definition | fun definition(): Call< ResponseObject > |
fillHeader | fun fillHeader(): Unit |
onResponse | fun onResponse(call: Call< ResponseObject >, response: Response< ResponseObject >): Unit |
Name | Summary |
---|---|
addHeader | open fun addHeader(name: String , value: String ): Unit |
automaticallyRenewSession | open fun automaticallyRenewSession(): Boolean |
execute | open fun execute(): Unit |
getHeaders | fun getHeaders(): Map < String , String > |
hasSessionId | fun hasSessionId(): Boolean |
offlineAutoSave | open fun offlineAutoSave(): Boolean |
onFailure | open fun onFailure(call: Call< K >, t: Throwable ): Unit |
onRetryFail | open fun onRetryFail(): Unit |
renewSession | fun renewSession(secureAuthentication: SecureAuthentication , resultCallback: NetDataLoadCallback < AuthorizationResponse >): Unit |
setDataLoadCallback | open fun setDataLoadCallback(externalCallback: NetDataLoadCallback < K >): Unit |
Name | Summary |
---|---|
JSON | val JSON: MediaType? |