1
2
3
4
5
6
7
8
9
10
11 package psiprobe.model;
12
13 import java.util.Locale;
14
15
16
17
18 public class RequestProcessor {
19
20
21 private String name;
22
23
24 private int stage;
25
26
27 private long processingTime;
28
29
30 private long bytesSent;
31
32
33 private long bytesReceived;
34
35
36 private String remoteAddr;
37
38
39 private Locale remoteAddrLocale;
40
41
42 private String virtualHost;
43
44
45 private String method;
46
47
48 private String currentUri;
49
50
51 private String currentQueryString;
52
53
54 private String protocol;
55
56
57 private String workerThreadName;
58
59
60 private boolean workerThreadNameSupported;
61
62
63
64
65
66
67 public String getName() {
68 return name;
69 }
70
71
72
73
74
75
76 public void setName(String name) {
77 this.name = name;
78 }
79
80
81
82
83
84
85 public int getStage() {
86 return stage;
87 }
88
89
90
91
92
93
94 public void setStage(int stage) {
95 this.stage = stage;
96 }
97
98
99
100
101
102
103 public long getProcessingTime() {
104 return processingTime;
105 }
106
107
108
109
110
111
112 public void setProcessingTime(long processingTime) {
113 this.processingTime = processingTime;
114 }
115
116
117
118
119
120
121 public long getBytesSent() {
122 return bytesSent;
123 }
124
125
126
127
128
129
130 public void setBytesSent(long bytesSent) {
131 this.bytesSent = bytesSent;
132 }
133
134
135
136
137
138
139 public long getBytesReceived() {
140 return bytesReceived;
141 }
142
143
144
145
146
147
148 public void setBytesReceived(long bytesReceived) {
149 this.bytesReceived = bytesReceived;
150 }
151
152
153
154
155
156
157 public String getRemoteAddr() {
158 return remoteAddr;
159 }
160
161
162
163
164
165
166 public void setRemoteAddr(String remoteAddr) {
167 this.remoteAddr = remoteAddr;
168 }
169
170
171
172
173
174
175 public String getVirtualHost() {
176 return virtualHost;
177 }
178
179
180
181
182
183
184 public void setVirtualHost(String virtualHost) {
185 this.virtualHost = virtualHost;
186 }
187
188
189
190
191
192
193 public String getMethod() {
194 return method;
195 }
196
197
198
199
200
201
202 public void setMethod(String method) {
203 this.method = method;
204 }
205
206
207
208
209
210
211 public String getCurrentUri() {
212 return currentUri;
213 }
214
215
216
217
218
219
220 public void setCurrentUri(String currentUri) {
221 this.currentUri = currentUri;
222 }
223
224
225
226
227
228
229 public String getCurrentQueryString() {
230 return currentQueryString;
231 }
232
233
234
235
236
237
238 public void setCurrentQueryString(String currentQueryString) {
239 this.currentQueryString = currentQueryString;
240 }
241
242
243
244
245
246
247 public String getProtocol() {
248 return protocol;
249 }
250
251
252
253
254
255
256 public void setProtocol(String protocol) {
257 this.protocol = protocol;
258 }
259
260
261
262
263
264
265 public Locale getRemoteAddrLocale() {
266 return remoteAddrLocale;
267 }
268
269
270
271
272
273
274 public void setRemoteAddrLocale(Locale remoteAddrLocale) {
275 this.remoteAddrLocale = remoteAddrLocale;
276 }
277
278
279
280
281
282
283 public String getWorkerThreadName() {
284 return workerThreadName;
285 }
286
287
288
289
290
291
292 public void setWorkerThreadName(String workerThreadName) {
293 this.workerThreadName = workerThreadName;
294 }
295
296
297
298
299
300
301 public boolean isWorkerThreadNameSupported() {
302 return workerThreadNameSupported;
303 }
304
305
306
307
308
309
310 public void setWorkerThreadNameSupported(boolean workerThreadNameSupported) {
311 this.workerThreadNameSupported = workerThreadNameSupported;
312 }
313
314 }