blob: e80d563bf4f8f143d6809ba205842c78d0ca33d9 (
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
|
package org.onap.vid.model.probes;
import org.springframework.http.HttpMethod;
public class HttpRequestMetadata extends StatusMetadata {
private final HttpMethod httpMethod;
private final int httpCode;
private final String url;
private final String rawData;
public HttpRequestMetadata(HttpMethod httpMethod, int httpCode, String url, String rawData, String description, long duration) {
super(description, duration);
this.httpMethod = httpMethod;
this.url = url;
this.httpCode = httpCode;
this.rawData = rawData;
}
public HttpMethod getHttpMethod() {
return httpMethod;
}
public int getHttpCode() {
return httpCode;
}
public String getUrl() {
return url;
}
public String getRawData() {
return rawData;
}
}
|