aboutsummaryrefslogtreecommitdiffstats
path: root/vid-automation/src/test/java/org/opencomp/vid/model/probe/HttpRequestMetadata.java
blob: 4ab5ae4a85e2fcc159e0bb2214d036b3139fe05e (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.opencomp.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;
    }
}