class Request
An HTTP request. Instances of this class are immutable if their body is null or itself immutable.
class Builder |
val body: RequestBody? |
|
val cacheControl: CacheControl
Returns the cache control directives for this response. This is never null, even if this
response contains no |
|
val headers: Headers |
|
val isHttps: Boolean |
|
val method: String |
|
val url: HttpUrl |
fun header(name: String): String? |
|
fun headers(name: String): List<String> |
|
fun newBuilder(): Request.Builder |
|
fun tag(): Any?
Returns the tag attached with fun <T> tag(type: Class<out T>): T?
Returns the tag attached with type as a key, or null if no tag is attached with that key. |
|
fun toString(): String |