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) |
boolean |
isHttps() |
String |
method() |
Request.Builder |
newBuilder() |
Object |
tag() |
String |
toString() |
HttpUrl |
url() |
public HttpUrl url()
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.