RequestConfig.java
2.02 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/*
*
* Copyright (c) 2001-2019 泛微软件.
* 泛微协同商务系统,版权所有.
*
*/
package com.weaver.esb.spi;
import java.util.Map;
/**
* <p>Title: ${file_name}</p>
* <p>Description: </p>
*
* @author SJZ
* @version 1.0
* @date 2019/5/17
*/
public class RequestConfig {
/**
* 服务地址
*/
private String serverUrl;
/**
* APP 标识
*/
private String appKey;
/**
* 开启答名
*/
private boolean sign;
/**
* 密钥
*/
private String sercetKey;
/**
* 用户名
*/
private String userName;
/**
* 密码
*/
private String password;
/**
* 响应格式
*/
private String format;
/**
* 加密方式
*/
private String encryption;
private Map<String,String> otherParams;
public String getServerUrl() {
return serverUrl;
}
public void setServerUrl( String serverUrl ) {
this.serverUrl = serverUrl;
}
public String getAppKey() {
return appKey;
}
public void setAppKey( String appKey ) {
this.appKey = appKey;
}
public boolean isSign() {
return sign;
}
public void setSign( boolean sign ) {
this.sign = sign;
}
public String getSercetKey() {
return sercetKey;
}
public void setSercetKey( String sercetKey ) {
this.sercetKey = sercetKey;
}
public String getUserName() {
return userName;
}
public void setUserName( String userName ) {
this.userName = userName;
}
public String getPassword() {
return password;
}
public void setPassword( String password ) {
this.password = password;
}
public String getFormat() {
return format;
}
public void setFormat( String format ) {
this.format = format;
}
public String getEncryption() {
return encryption;
}
public void setEncryption( String encryption ) {
this.encryption = encryption;
}
}