blob: 1443c466050721334bd99733cc447b1e728a6cc9 (
plain)
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
|
package org.onap.vid.model.probe;
import org.springframework.http.HttpMethod;
public class HttpRequestMetadata {
public HttpMethod getHttpMethod() {
return httpMethod;
}
public int getHttpCode() {
return httpCode;
}
public String getUrl() {
return url;
}
public String getRawData() {
return rawData;
}
public float getDuration() {
return duration;
}
public String getDescription() {
return description;
}
private HttpMethod httpMethod;
private int httpCode;
private String url;
private String rawData;
private String description;
private float duration;
public HttpRequestMetadata(){
}
public HttpRequestMetadata(HttpMethod httpMethod,int httpCode, String url, String rawData, String description) {
this.httpMethod = httpMethod;
this.httpCode = httpCode;
this.url = url;
this.rawData = rawData;
this.description = description;
}
}
|