io.hcxprotocol.dto.HttpResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hcx-integrator-sdk Show documentation
Show all versions of hcx-integrator-sdk Show documentation
The SDK for HCX Participant System to help in integrating with HCX Gateway easily.
package io.hcxprotocol.dto;
/**
* The HttpResponse class to capture the REST API status code and response body.
*/
public class HttpResponse {
public int status;
public String body;
public HttpResponse(int status, String body) {
this.status = status;
this.body = body;
}
public int getStatus(){
return this.status;
}
public String getBody(){
return this.body;
}
}