GugalJsonRequest

class GugalJsonRequest(method: Int, url: String, jsonRequest: JSONObject?, listener: Response.Listener<JSONObject>, errorResponseListener: (ErrorResponse) -> Unit, otherErrorListener: Response.ErrorListener?, extraHeaders: MutableMap<String, String>? = null) : JsonObjectRequest

Custom JSON request with Gugal header wrapper

Note: this class is unimplemented and unused. It was added for reproducibility and will become fully available in a future Gugal version.

Constructors

Link copied to clipboard
constructor(method: Int, url: String, jsonRequest: JSONObject?, listener: Response.Listener<JSONObject>, errorResponseListener: (ErrorResponse) -> Unit, otherErrorListener: Response.ErrorListener?, extraHeaders: MutableMap<String, String>? = null)

Functions

Link copied to clipboard
open fun addMarker(p0: String)
Link copied to clipboard
open override fun cancel()
Link copied to clipboard
open operator override fun compareTo(other: Request<JSONObject>): Int
Link copied to clipboard
open fun deliverError(p0: VolleyError)
Link copied to clipboard
open override fun getBody(): ByteArray
Link copied to clipboard
open override fun getBodyContentType(): String
Link copied to clipboard
open fun getCacheEntry(): Cache.Entry?
Link copied to clipboard
open fun getCacheKey(): String
Link copied to clipboard
open fun getErrorListener(): Response.ErrorListener?
Link copied to clipboard
open override fun getHeaders(): MutableMap<String, String>?
Link copied to clipboard
open fun getMethod(): Int
Link copied to clipboard
open override fun getPostBody(): ByteArray
Link copied to clipboard
open override fun getPostBodyContentType(): String
Link copied to clipboard
open fun getPriority(): Request.Priority
Link copied to clipboard
open fun getRetryPolicy(): RetryPolicy
Link copied to clipboard
Link copied to clipboard
open fun getTag(): Any
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getUrl(): String
Link copied to clipboard
Link copied to clipboard
open fun isCanceled(): Boolean
Link copied to clipboard
open fun markDelivered()
Link copied to clipboard
open fun setCacheEntry(p0: Cache.Entry): Request<*>
Link copied to clipboard
open fun setRequestQueue(p0: RequestQueue): Request<*>
Link copied to clipboard
open fun setRetryPolicy(p0: RetryPolicy): Request<*>
Link copied to clipboard
fun setSequence(p0: Int): Request<*>
Link copied to clipboard
fun setShouldCache(p0: Boolean): Request<*>
Link copied to clipboard
Link copied to clipboard
fun setShouldRetryServerErrors(p0: Boolean): Request<*>
Link copied to clipboard
open fun setTag(p0: Any): Request<*>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String