mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-02-16 13:26:23 +08:00
#307 微信支付模块中增加http proxy设置的支持
This commit is contained in:
@@ -39,6 +39,10 @@ public class WxPayConfig {
|
||||
private SSLContext sslContext;
|
||||
private String keyPath;
|
||||
private boolean useSandboxEnv = false;
|
||||
private String httpProxyHost;
|
||||
private Integer httpProxyPort;
|
||||
private String httpProxyUsername;
|
||||
private String httpProxyPassword;
|
||||
|
||||
public String getKeyPath() {
|
||||
return keyPath;
|
||||
@@ -227,4 +231,36 @@ public class WxPayConfig {
|
||||
public void setHttpTimeout(int httpTimeout) {
|
||||
this.httpTimeout = httpTimeout;
|
||||
}
|
||||
|
||||
public String getHttpProxyHost() {
|
||||
return httpProxyHost;
|
||||
}
|
||||
|
||||
public void setHttpProxyHost(String httpProxyHost) {
|
||||
this.httpProxyHost = httpProxyHost;
|
||||
}
|
||||
|
||||
public Integer getHttpProxyPort() {
|
||||
return httpProxyPort;
|
||||
}
|
||||
|
||||
public void setHttpProxyPort(Integer httpProxyPort) {
|
||||
this.httpProxyPort = httpProxyPort;
|
||||
}
|
||||
|
||||
public String getHttpProxyUsername() {
|
||||
return httpProxyUsername;
|
||||
}
|
||||
|
||||
public void setHttpProxyUsername(String httpProxyUsername) {
|
||||
this.httpProxyUsername = httpProxyUsername;
|
||||
}
|
||||
|
||||
public String getHttpProxyPassword() {
|
||||
return httpProxyPassword;
|
||||
}
|
||||
|
||||
public void setHttpProxyPassword(String httpProxyPassword) {
|
||||
this.httpProxyPassword = httpProxyPassword;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user