aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org/onap/vid/aai/ResponseWithRequestInfo.java
blob: eb57b34fe288dd93070751e06adaa9daa75231df (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
package org.onap.vid.aai;

import org.springframework.http.HttpMethod;

import javax.ws.rs.core.Response;

public class ResponseWithRequestInfo {
    private String requestUrl;
    private HttpMethod requestHttpMethod;
    private Response response;

    public ResponseWithRequestInfo(Response response, String requestUrl, HttpMethod requestHttpMethod) {
        this.response = response;
        this.requestUrl = requestUrl;
        this.requestHttpMethod = requestHttpMethod;
    }

    public String getRequestUrl() {
        return requestUrl;
    }

    public HttpMethod getRequestHttpMethod() {
        return requestHttpMethod;
    }

    public Response getResponse() {
        return response;
    }
}