Package renetik.android.network.okhttp3

Types

Link copied to clipboard
class CSDownloadRequest(url: String, file: File) : CSProcessBase<File>
Link copied to clipboard
class CSOkHttpClient(val url: String)
Link copied to clipboard
class CSOkHttpResponseListener<Data : CSHttpResponseData>(client: OkHttpClient, process: CSHttpProcess<Data>) : OkHttpResponseAndStringRequestListener

Functions

Link copied to clipboard
fun <ServerDataType : CSHttpResponseData> CSOkHttpClient.get(    url: String,     data: ServerDataType,     params: Map<String, String> = emptyMap()): CSHttpProcess<ServerDataType>
fun <ServerDataType : CSHttpResponseData> CSOkHttpClient.get(    operation: CSOperation<*>?,     service: String,     data: ServerDataType,     params: Map<String, String> = emptyMap()): CSHttpProcess<ServerDataType>
Link copied to clipboard
fun <T : ImageView> T.image(    parent: CSHasRegistrations,     url: String,     defaultImageId: Int? = null)
Link copied to clipboard
fun ANError.infoString(): String
Link copied to clipboard
fun <ResponseData : CSHttpResponseData> CSOkHttpClient.post(    service: String,     responseData: ResponseData,     params: Map<String, String>): CSHttpProcess<ResponseData>
fun <ResponseData : CSHttpResponseData> CSOkHttpClient.post(    service: String,     responseData: ResponseData,     data: JSONObject): CSHttpProcess<ResponseData>
fun <ResponseData : CSHttpResponseData> CSOkHttpClient.post(    url: String,     data: CSJsonObject,     responseData: ResponseData): CSHttpProcess<ResponseData>
Link copied to clipboard
fun <ResponseData : CSHttpResponseData> CSOkHttpClient.postJson(    service: String,     responseData: ResponseData,     data: List<*>): CSHttpProcess<ResponseData>
fun <ResponseData : CSHttpResponseData> CSOkHttpClient.postJson(    service: String,     responseData: ResponseData,     data: Map<String, *>): CSHttpProcess<ResponseData>
Link copied to clipboard
fun <ResponseData : CSHttpResponseData> CSOkHttpClient.postJsonObject(    service: String,     responseData: ResponseData,     data: String): CSHttpProcess<ResponseData>
Link copied to clipboard
fun <ServerDataType : CSHttpResponseData> CSOkHttpClient.upload(    service: String,     file: File,     data: ServerDataType): CSHttpProcess<ServerDataType>

Properties

Link copied to clipboard
const val APPLICATION_ERROR: String