aboutsummaryrefslogtreecommitdiffstats
path: root/apiroute/apiroute-service/src/main/java/org/onap/msb/apiroute/wrapper/consulextend/async/OriginalConsulResponse.java
blob: dbad13b2ee904d1c9e4fecec72cceb0ddb0dc8e4 (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
package org.onap.msb.apiroute.wrapper.consulextend.async;

import org.apache.http.HttpResponse;

import com.fasterxml.jackson.core.type.TypeReference;

public class OriginalConsulResponse<T> {
	final HttpResponse response;
	final TypeReference<T> responseType;
	
    public OriginalConsulResponse(HttpResponse response, TypeReference<T> responseType) {
        this.response = response;
        this.responseType = responseType;

    }

    public HttpResponse getResponse() {
        return response;
    }

    public TypeReference<T> getResponseType() {
		return responseType;
	}
    
    
    
}