gsdsdk / com.gsd.software.sdk.netconnector.request.preview / GetPreviewRequest

GetPreviewRequest

class GetPreviewRequest :AbstractRequest<GSDApi, ResponseBody>

Created by jmielczarek on 22/03/2021

Constructors

Name Summary
<init> GetPreviewRequest(apiClass:Class<GSDApi>, accessData:AccessData, handleSSL:Boolean, preview:Preview)
Created by jmielczarek on 22/03/2021

Inherited Properties

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>?

Functions

Name Summary
automaticallyRenewSession fun automaticallyRenewSession():Boolean
definition fun definition(): Call<ResponseBody>
offlineAutoSave fun offlineAutoSave():Boolean

Inherited Functions

Name Summary
addHeader open fun addHeader(name:String, value:String):Unit
databaseOpAfterSuccess open fun databaseOpAfterSuccess(gsdDao:GSDDao):Unit
execute open fun execute():Unit
fillHeader open fun fillHeader():Unit
getHeaders fun getHeaders():Map<String,String>
hasSessionId fun hasSessionId():Boolean
onFailure open fun onFailure(call: Call<K>, t:Throwable):Unit
onResponse open fun onResponse(call: Call<K>, response: Response<K>):Unit
onRetryFail open fun onRetryFail():Unit
renewSession fun renewSession(secureAuthentication:SecureAuthentication, resultCallback:NetDataLoadCallback<AuthorizationResponse>):Unit
setDataLoadCallback open fun setDataLoadCallback(externalCallback:NetDataLoadCallback<K>):Unit