SimpleJsonCallback

abstract class SimpleJsonCallback<T> : JsonCallback<T, T2>

Constructors

Link copied to clipboard
constructor(clazz: Class<T>)

Types

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun error(t: Throwable)
Link copied to clipboard
open fun failure(obj: T)
Link copied to clipboard
open fun headers(): Headers
Link copied to clipboard
open fun onFailure(call: Call, e: IOException)
abstract fun onFailure(p: Call, p1: IOException)
Link copied to clipboard
open fun onResponse(call: Call, response: Response)
abstract fun onResponse(p: Call, p1: 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)