@Immutable public class Request extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
BasicAuth |
getBasicAuth() |
RequestBody<?> |
getBody() |
List<CertificateInfo> |
getCerts() |
Charset |
getCharset() |
int |
getConnectTimeout() |
CookieJar |
getCookieJar() |
Collection<? extends Map.Entry<String,?>> |
getCookies() |
Collection<? extends Map.Entry<String,?>> |
getHeaders() |
String |
getMethod() |
Proxy |
getProxy() |
int |
getSocksTimeout() |
URL |
getUrl() |
String |
getUserAgent() |
boolean |
isCompress() |
boolean |
isFollowRedirect() |
boolean |
isKeepAlive() |
boolean |
isVerify() |
public String getMethod()
public Collection<? extends Map.Entry<String,?>> getHeaders()
public Collection<? extends Map.Entry<String,?>> getCookies()
public String getUserAgent()
public Charset getCharset()
@Nullable public RequestBody<?> getBody()
public int getSocksTimeout()
public int getConnectTimeout()
public boolean isFollowRedirect()
public boolean isCompress()
public boolean isVerify()
public List<CertificateInfo> getCerts()
public BasicAuth getBasicAuth()
public URL getUrl()
public boolean isKeepAlive()
Copyright © 2017. All rights reserved.