Add POJO for Result

A Result object is what the sendRequest() method will return to the helper methods within MyWaifuWrapper.java
pull/5/head
Hammy 4 years ago
parent 8471d7a5e3
commit fc9bf53620

@ -0,0 +1,19 @@
package org.goudham.me;
class Result {
private final Integer statusCode;
private final String body;
Result(Integer statusCode, String body) {
this.statusCode = statusCode;
this.body = body;
}
Integer getStatusCode() {
return statusCode;
}
String getBody() {
return body;
}
}
Loading…
Cancel
Save