HttpConfig.java
1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package com.pipi.qa.framework.bean;
public class HttpConfig {
/**
* 连接超时时间,单位:毫秒
*/
private Integer connectTimeout = 0;
/**
* 读取应答超时时间,单位:毫秒
*/
private Integer readTimeout = 0;
/**
* true:跟随重定向 false:不跟随重定向
*/
private Boolean followRedirects = false;
/**
* 域登录用户名
*/
private String authUsername;
/**
* 域登录密码
*/
private String authPassword;
public Integer getConnectTimeout() {
return connectTimeout;
}
public void setConnectTimeout(Integer connectTimeout) {
this.connectTimeout = connectTimeout;
}
public Integer getReadTimeout() {
return readTimeout;
}
public void setReadTimeout(Integer readTimeout) {
this.readTimeout = readTimeout;
}
public Boolean getFollowRedirects() {
return followRedirects;
}
public void setFollowRedirects(Boolean followRedirects) {
this.followRedirects = followRedirects;
}
public String getAuthUsername() {
return authUsername;
}
public void setAuthUsername(String authUsername) {
this.authUsername = authUsername;
}
public String getAuthPassword() {
return authPassword;
}
public void setAuthPassword(String authPassword) {
this.authPassword = authPassword;
}
}