1 package fr.paris.lutece.util.httpaccess;
2
3
4
5
6
7 public class HttpClientConfiguration {
8
9
10
11 private String _strProxyHost;
12
13
14 private String _strProxyPort;
15
16
17 private String _strProxyUserName;
18
19
20 private String _strProxyPassword;
21
22
23 private String _strHostName;
24
25
26 private String _strDomainName;
27
28
29 private String _strRealm;
30
31
32 private String _strNoProxyFor;
33
34
35 private String _strContentCharset;
36
37
38 private String _strElementCharset;
39
40
41 private Integer _nSocketTimeout;
42
43
44 private Integer _nConnectionTimeout;
45
46
47 private boolean _bConnectionPoolEnabled;
48
49
50 private Integer _nConnectionPoolMaxTotalConnection;
51
52
53 private Integer _nConnectionPoolMaxConnectionPerHost;
54
55
56
57
58
59
60 public String getProxyHost() {
61 return _strProxyHost;
62 }
63
64
65
66
67
68
69 public void setProxyHost(String _strProxyHost) {
70 this._strProxyHost = _strProxyHost;
71 }
72
73
74
75
76
77
78 public String getProxyPort() {
79 return _strProxyPort;
80 }
81
82
83
84
85
86
87 public void setProxyPort(String _strProxyPort) {
88 this._strProxyPort = _strProxyPort;
89 }
90
91
92
93
94
95
96 public String getProxyUserName() {
97 return _strProxyUserName;
98 }
99
100
101
102
103
104
105 public void setProxyUserName(String _strProxyUserName) {
106 this._strProxyUserName = _strProxyUserName;
107 }
108
109
110
111
112
113
114 public String getProxyPassword() {
115 return _strProxyPassword;
116 }
117
118
119
120
121
122
123 public void setProxyPassword(String _strProxyPassword) {
124 this._strProxyPassword = _strProxyPassword;
125 }
126
127
128
129
130
131
132 public String getHostName() {
133 return _strHostName;
134 }
135
136
137
138
139
140
141 public void setHostName(String _strHostName) {
142 this._strHostName = _strHostName;
143 }
144
145
146
147
148
149
150 public String getDomainName() {
151 return _strDomainName;
152 }
153
154
155
156
157
158
159 public void setDomainName(String _strDomainName) {
160 this._strDomainName = _strDomainName;
161 }
162
163
164
165
166
167
168 public String getRealm() {
169 return _strRealm;
170 }
171
172
173
174
175
176
177 public void setRealm(String _strRealm) {
178 this._strRealm = _strRealm;
179 }
180
181
182
183
184
185
186 public String getNoProxyFor() {
187 return _strNoProxyFor;
188 }
189
190
191
192
193
194
195 public void setNoProxyFor(String _strNoProxyFor) {
196 this._strNoProxyFor = _strNoProxyFor;
197 }
198
199
200
201
202
203
204 public String getContentCharset() {
205 return _strContentCharset;
206 }
207
208
209
210
211
212
213 public void setContentCharset(String _strContentCharset) {
214 this._strContentCharset = _strContentCharset;
215 }
216
217
218
219
220
221
222 public String getElementCharset() {
223 return _strElementCharset;
224 }
225
226
227
228
229
230
231 public void setElementCharset(String _strElementCharset) {
232 this._strElementCharset = _strElementCharset;
233 }
234
235
236
237
238
239
240 public Integer getSocketTimeout() {
241 return _nSocketTimeout;
242 }
243
244
245
246
247
248
249 public void setSocketTimeout(Integer nSocketTimeout) {
250 this._nSocketTimeout = nSocketTimeout;
251 }
252
253
254
255
256
257
258 public Integer getConnectionTimeout() {
259 return _nConnectionTimeout;
260 }
261
262
263
264
265
266
267 public void setConnectionTimeout(Integer nConnectionTimeout) {
268 this._nConnectionTimeout = nConnectionTimeout;
269 }
270
271
272
273
274
275
276 public boolean isConnectionPoolEnabled() {
277 return _bConnectionPoolEnabled;
278 }
279
280
281
282
283
284
285 public void setConnectionPoolEnabled(boolean _bConnectionPoolEnabled) {
286 this._bConnectionPoolEnabled = _bConnectionPoolEnabled;
287 }
288
289
290
291
292
293
294 public Integer getConnectionPoolMaxTotalConnection() {
295 return _nConnectionPoolMaxTotalConnection;
296 }
297
298
299
300
301
302
303 public void setConnectionPoolMaxTotalConnection(Integer nConnectionPoolMaxTotalConnection) {
304 this._nConnectionPoolMaxTotalConnection = nConnectionPoolMaxTotalConnection;
305 }
306
307
308
309
310
311
312 public Integer getConnectionPoolMaxConnectionPerHost() {
313 return _nConnectionPoolMaxConnectionPerHost;
314 }
315
316
317
318
319
320
321 public void setConnectionPoolMaxConnectionPerHost(Integer nConnectionPoolMaxConnectionPerHost) {
322 this._nConnectionPoolMaxConnectionPerHost = nConnectionPoolMaxConnectionPerHost;
323 }
324
325 }