gsdsdk / com.gsd.software.sdk.netconnector / AbstractRequestHandler

AbstractRequestHandler

abstract class AbstractRequestHandler<T, K>

Created by PJablonski on 22.08.2017.

Constructors

Name Summary
<init> AbstractRequestHandler(networkController:NetworkControllerInterface, sessionCache:SessionCacheInterface, secureAuthentication:SecureAuthentication)
Created by PJablonski on 22.08.2017.

Properties

Name Summary
request lateinit var request:AbstractRequest<*,K>
secureAuthentication val secureAuthentication:SecureAuthentication

Functions

Name Summary
createSessionCallback fun createSessionCallback():NetDataLoadCallback<AuthorizationResponse>
execute fun execute():Unit
executeRequest fun executeRequest(request:AbstractRequest<*,K>):Unit
onError open fun onError(response:ResponseStatus):Unit
onSuccess abstract fun onSuccess(responseObject:K):Unit

Companion Object Properties

Name Summary
INVALID_AUTHORIZATION_CODE const val INVALID_AUTHORIZATION_CODE:Int

Inheritors

Name Summary
FileCurrentSizeHandler class FileCurrentSizeHandler :AbstractRequestHandler<GSDApi,ResponseObject>
Created by PJablonski on 29.08.2017.
FileLoadHandler class FileLoadHandler :AbstractRequestHandler<GSDApi,ResponseObject>
Created by PJablonski on 28.08.2017.
FileUploadRequestHandler class FileUploadRequestHandler :AbstractRequestHandler<GSDApi,ResponseObject>
Created by PJablonski on 24.08.2017.
LoginRequestHandler class LoginRequestHandler :AbstractRequestHandler<GSDLoginAPI,ResponseObject>
Created by konradrutkowski on 27.09.2018.
LogoutRequestHandler class LogoutRequestHandler :AbstractRequestHandler<GSDLoginAPI,ResponseObject>
Created by PJablonski on 22.08.2017.
RequestHandler class RequestHandler :AbstractRequestHandler<GSDApi,ResponseObject>
Created by PJablonski on 06.07.2017.
RetryRequestHandler abstract class RetryRequestHandler<T, K> :AbstractRequestHandler<T,K>
Created by PJablonski on 31.08.2017.