public class APIResponse extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
getBody() |
int |
getStatus() |
boolean |
hasContent()
Determines whether this request has content, based on its HTTP status
code and otherwise by inspecting the response body.
|
boolean |
isSuccess()
Determines whether this request is successful based on its HTTP status
code.
|
public boolean isSuccess()
public boolean hasContent()
public String getBody()
public int getStatus()
Copyright © 2024. All rights reserved.