Merge 1806 code of vid-common
[vid.git] / vid-app-common / src / main / java / org / onap / vid / aai / ResponseWithRequestInfo.java
1 package org.onap.vid.aai;
2
3 import org.springframework.http.HttpMethod;
4
5 import javax.ws.rs.core.Response;
6
7 public class ResponseWithRequestInfo {
8     private String requestUrl;
9     private HttpMethod requestHttpMethod;
10     private Response response;
11
12     public ResponseWithRequestInfo(Response response, String requestUrl, HttpMethod requestHttpMethod) {
13         this.response = response;
14         this.requestUrl = requestUrl;
15         this.requestHttpMethod = requestHttpMethod;
16     }
17
18     public String getRequestUrl() {
19         return requestUrl;
20     }
21
22     public HttpMethod getRequestHttpMethod() {
23         return requestHttpMethod;
24     }
25
26     public Response getResponse() {
27         return response;
28     }
29 }