diff options
author | kurczews <krzysztof.kurczewski@nokia.com> | 2018-08-14 11:23:35 +0200 |
---|---|---|
committer | kurczews <krzysztof.kurczewski@nokia.com> | 2018-08-14 11:23:35 +0200 |
commit | 05dd5d2fd893f526eb6a807afb5725c8e426dd52 (patch) | |
tree | 780c4506ed6e69d053b49c5c116f5727648838d9 /vid-automation/src/test/java/org/onap/vid/model/probe/HttpRequestMetadata.java | |
parent | a55efc25f0ec1cca1a1accedb2bb7fce66d597a9 (diff) |
Renaming vid-automation #6
Change-Id: I0971c966ddcd76927bdf1a4c4d47afc900987ddf
Issue-ID: VID-205
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
Diffstat (limited to 'vid-automation/src/test/java/org/onap/vid/model/probe/HttpRequestMetadata.java')
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/model/probe/HttpRequestMetadata.java | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/vid-automation/src/test/java/org/onap/vid/model/probe/HttpRequestMetadata.java b/vid-automation/src/test/java/org/onap/vid/model/probe/HttpRequestMetadata.java new file mode 100644 index 000000000..1443c4660 --- /dev/null +++ b/vid-automation/src/test/java/org/onap/vid/model/probe/HttpRequestMetadata.java @@ -0,0 +1,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; + } +}
\ No newline at end of file |