com.plaid.client.http.HttpResponseWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plaid-java Show documentation
Show all versions of plaid-java Show documentation
Bindings for the Plaid (plaid.com) API.
package com.plaid.client.http;
public class HttpResponseWrapper {
private int httpStatusCode;
private T responseBody;
public static HttpResponseWrapper create(int httpStatusCode, T responseBody) {
HttpResponseWrapper wrapper = new HttpResponseWrapper();
wrapper.setHttpStatusCode(httpStatusCode);
wrapper.setResponseBody(responseBody);
return wrapper;
}
public int getHttpStatusCode() {
return httpStatusCode;
}
public void setHttpStatusCode(int httpStatusCode) {
this.httpStatusCode = httpStatusCode;
}
public void setResponseBody(T responseBody) {
this.responseBody = responseBody;
}
public T getResponseBody() {
return responseBody;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy