gsdsdk / com.gsd.software.sdk.netconnector.files.request / FileUploaderRequest

FileUploaderRequest

class FileUploaderRequest :AbstractRequest<GSDApi,ResponseObject>

Created by PJablonski on 24.08.2017.

Constructors

Name Summary
<init> FileUploaderRequest(keyProvider:KeyProvider, interceptor: Interceptor, apiClass:Class<GSDApi>, accessData:AccessData, fileContent:FileContent, uploadId:String, handleSSL:Boolean)
Created by PJablonski on 24.08.2017.

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<ResponseObject>
fillHeader fun fillHeader():Unit
offlineAutoSave fun offlineAutoSave():Boolean
onFailure fun onFailure(call: Call<ResponseObject>, t:Throwable):Unit
onResponse fun onResponse(call: Call<ResponseObject>, response: Response<ResponseObject>):Unit
setFileUploadCallback fun setFileUploadCallback(callback:UploadCallback):Unit
setStartPosition fun setStartPosition(startPosition:Long):Unit

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
getHeaders fun getHeaders():Map<String,String>
hasSessionId fun hasSessionId():Boolean
onRetryFail open fun onRetryFail():Unit
renewSession fun renewSession(secureAuthentication:SecureAuthentication, resultCallback:NetDataLoadCallback<AuthorizationResponse>):Unit
setDataLoadCallback open fun setDataLoadCallback(externalCallback:NetDataLoadCallback<K>):Unit