1 package org.onap.vid.aai;
4 import org.springframework.http.HttpMethod;
6 import java.io.Serializable;
8 public class AaiResponseWithRequestInfo<T> implements Serializable {
9 private AaiResponse<T> aaiResponse;
10 private String requestedUrl;
11 private String rawData;
12 private HttpMethod httpMethod;
14 public AaiResponseWithRequestInfo(HttpMethod httpMethod, String requestedUrl, AaiResponse<T> aaiResponse, String rawData) {
15 this.aaiResponse = aaiResponse;
16 this.requestedUrl = requestedUrl;
17 this.rawData = rawData;
18 this.httpMethod = httpMethod;
21 public void setRequestedUrl(String requestedUrl) {
22 this.requestedUrl = requestedUrl;
25 public void setHttpMethod(HttpMethod httpMethod) {
26 this.httpMethod = httpMethod;
29 public AaiResponse<T> getAaiResponse() {
33 public String getRequestedUrl() {
37 public String getRawData() {
41 public HttpMethod getHttpMethod() {