add GsonRequest.body
This commit is contained in:
@@ -28,6 +28,12 @@ public class TimiRequest extends GsonRequest {
|
||||
return new TimiRequest(Request.post(url));
|
||||
}
|
||||
|
||||
@Override
|
||||
public TimiRequest body(Object object) {
|
||||
super.body(object);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String asString() throws IOException {
|
||||
return resultAs(String.class);
|
||||
|
||||
Reference in New Issue
Block a user