| Modifier and Type | Class and Description |
|---|---|
static class |
Request.Builder |
| Modifier and Type | Method and Description |
|---|---|
RequestBody |
body() |
CacheControl |
cacheControl()
Returns the cache control directives for this response.
|
String |
header(String name) |
Headers |
headers() |
List<String> |
headers(String name) |
HttpUrl |
httpUrl() |
boolean |
isHttps() |
String |
method() |
Request.Builder |
newBuilder() |
Object |
tag() |
String |
toString() |
URI |
uri() |
URL |
url() |
String |
urlString() |
public HttpUrl httpUrl()
public URL url()
public URI uri() throws IOException
IOExceptionpublic String urlString()
public String method()
public Headers headers()
public RequestBody body()
public Object tag()
public Request.Builder newBuilder()
public CacheControl cacheControl()
Cache-Control header.public boolean isHttps()
Copyright © 2016. All Rights Reserved.