blob: cd1f9044bed5be485aa97ff35cbcd87c9a294d5b (
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
|
package org.onap.vid.aai;
import org.springframework.http.HttpMethod;
import java.io.Serializable;
public class AaiResponseWithRequestInfo<T> implements Serializable {
private AaiResponse<T> aaiResponse;
private String requestedUrl;
private String rawData;
private HttpMethod httpMethod;
public AaiResponseWithRequestInfo(HttpMethod httpMethod, String requestedUrl, AaiResponse<T> aaiResponse, String rawData) {
this.aaiResponse = aaiResponse;
this.requestedUrl = requestedUrl;
this.rawData = rawData;
this.httpMethod = httpMethod;
}
public void setRequestedUrl(String requestedUrl) {
this.requestedUrl = requestedUrl;
}
public void setHttpMethod(HttpMethod httpMethod) {
this.httpMethod = httpMethod;
}
public AaiResponse<T> getAaiResponse() {
return aaiResponse;
}
public String getRequestedUrl() {
return requestedUrl;
}
public String getRawData() {
return rawData;
}
public HttpMethod getHttpMethod() {
return httpMethod;
}
}
|