Files
spring-boot-rest/libraries/src/main/java/com/baeldung/http/HttpResponseWrapper.java
lor6 c10f709e17 Bael 830 (#1682)
* java http request

* httpclient code

* small fixes

* remove try catch
2017-04-24 21:24:41 -05:00

32 lines
590 B
Java

package com.baeldung.http;
public class HttpResponseWrapper {
private int status;
private String content;
public HttpResponseWrapper(){ }
public HttpResponseWrapper(int status, String content) {
super();
this.status = status;
this.content = content;
}
public int getStatus() {
return status;
}
public void setStatus(int status) {
this.status = status;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
}