DrmRequest

class DrmRequest(drmData: DrmData, url: String, headers: Map<String?, String?>?, body: ByteArray?, httpMethod: String) : HttpRequest

An HTTP request for DRM information.

Constructors

DrmRequest
Link copied to clipboard
fun DrmRequest(drmData: DrmData, url: String, headers: Map<String?, String?>?, body: ByteArray?, httpMethod: String)

Properties

drmData
Link copied to clipboard
val drmData: DrmData
The DrmData associated with the request.

Inherited functions

getBody
Link copied to clipboard
open fun getBody(): ByteArray?
getHeaders
Link copied to clipboard
open fun getHeaders(): MutableMap<String, String>?
getMethod
Link copied to clipboard
open fun getMethod(): String
getUrl
Link copied to clipboard
open fun getUrl(): String
setBody
Link copied to clipboard
open fun setBody(@Nullable() body: ByteArray?)
setHeaders
Link copied to clipboard
open fun setHeaders(@Nullable() headers: MutableMap<String, String>?)
setMethod
Link copied to clipboard
open fun setMethod(httpMethod: String)
setUrl
Link copied to clipboard
open fun setUrl(url: String)