toggle menu
Android-Vast-Extension
androidJvm
switch theme
search in API
tools
/
com.ave.vastgui.tools.network.response
/
ResponseWrapper
Response
Wrapper
open
class
ResponseWrapper
<
T
>
Inheritors
SuccessResponseWrapper
EmptyResponseWrapper
FailedResponseWrapper
ErrorResponseWrapper
Members
Constructors
Response
Wrapper
Link copied to clipboard
constructor
(
)
Types
Empty
Response
Wrapper
Link copied to clipboard
class
EmptyResponseWrapper
<
T
>
:
ResponseWrapper
<
T
>
Empty response.
Error
Response
Wrapper
Link copied to clipboard
class
ErrorResponseWrapper
<
T
>
(
val
throwable
:
Throwable
?
)
:
ResponseWrapper
<
T
>
Error response.
Failed
Response
Wrapper
Link copied to clipboard
class
FailedResponseWrapper
<
T
>
(
val
errorCode
:
Int
?
,
val
errorMsg
:
String
?
)
:
ResponseWrapper
<
T
>
Fail response.
Success
Response
Wrapper
Link copied to clipboard
class
SuccessResponseWrapper
<
T
>
(
val
data
:
T
)
:
ResponseWrapper
<
T
>
Success response.