public class HttpConfig extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
HttpConfig.CompressType |
| 构造器和说明 |
|---|
HttpConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
HttpConfig.CompressType |
getCompressType() |
int |
getConnTimeout() |
int |
getMaxRetryCount() |
String |
getNetworkInterface() |
String |
getProxyPassword() |
String |
getProxyUri() |
String |
getProxyUsername() |
int |
getReadTimeout() |
int |
hashCode() |
boolean |
isDebugRequest() |
boolean |
isEnableH2C() |
boolean |
isEnablePbCrc() |
HttpConfig |
setCompressType(HttpConfig.CompressType compressType) |
HttpConfig |
setConnTimeout(int connTimeout) |
HttpConfig |
setDebugRequest(boolean debugRequest) |
HttpConfig |
setEnableH2C(boolean enableH2C) |
HttpConfig |
setEnablePbCrc(boolean enablePbCrc) |
HttpConfig |
setMaxRetryCount(int maxRetryCount) |
void |
setNetworkInterface(String networkInterface) |
HttpConfig |
setProxyPassword(String proxyPassword) |
HttpConfig |
setProxyUri(String proxyUri) |
HttpConfig |
setProxyUsername(String proxyUsername) |
HttpConfig |
setReadTimeout(int readTimeout) |
public int getReadTimeout()
public HttpConfig setReadTimeout(int readTimeout)
public int getConnTimeout()
public HttpConfig setConnTimeout(int connTimeout)
public int getMaxRetryCount()
public HttpConfig setMaxRetryCount(int maxRetryCount)
public boolean isDebugRequest()
public HttpConfig setDebugRequest(boolean debugRequest)
public boolean isEnableH2C()
public HttpConfig setEnableH2C(boolean enableH2C)
public boolean isEnablePbCrc()
public HttpConfig setEnablePbCrc(boolean enablePbCrc)
public HttpConfig.CompressType getCompressType()
public HttpConfig setCompressType(HttpConfig.CompressType compressType)
public String getProxyUri()
public HttpConfig setProxyUri(String proxyUri)
public String getProxyUsername()
public HttpConfig setProxyUsername(String proxyUsername)
public String getProxyPassword()
public HttpConfig setProxyPassword(String proxyPassword)
public String getNetworkInterface()
public void setNetworkInterface(String networkInterface)
Copyright © 2021 Alibaba Cloud Computing. All rights reserved.