JsonCallback

abstract class JsonCallback<T, T2> : Callback

Inheritors

Constructors

Link copied to clipboard
constructor(successClass: Class<T>, failureClass: Class<T2>)

Functions

Link copied to clipboard
abstract fun error(t: Throwable)
Link copied to clipboard
abstract fun failure(obj: T2)
Link copied to clipboard
open fun headers(): Headers
Link copied to clipboard
open fun onFailure(call: Call, e: IOException)
Link copied to clipboard
open fun onResponse(call: Call, response: Response)
Link copied to clipboard
open fun rawResponse(): String
Link copied to clipboard
open fun responseCode(): Int
Link copied to clipboard
abstract fun success(obj: T)