class Request
An HTTP request. Instances of this class are immutable if their body is null or itself immutable.
class Builder |
val isHttps: Boolean |
fun body(): RequestBody? |
|
fun cacheControl(): CacheControl
Returns the cache control directives for this response. This is never null, even if this
response contains no |
|
fun header(name: String): String? |
|
fun headers(): Headersfun headers(name: String): List<String> |
|
fun method(): 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 |
|
fun url(): HttpUrl |