minor refactorings

This commit is contained in:
Sven Kubiak
2015-12-10 11:17:36 +01:00
parent ceaf8d1bc8
commit de59b39be5
6 changed files with 16 additions and 20 deletions

View File

@@ -26,24 +26,21 @@ public class JPushoverResponse {
}
/**
* The raw Json Response from the pushover API
* @return String
* @return The pushover response
*/
public String getResponse() {
return pushoverResponse;
}
/**
* The HTTP status from the HTTP request
* @return int
* @return The HTTP status
*/
public int getHttpStatus() {
return pushoverHttpStatus;
}
/**
* True if the request to the pushover API returned HTTP code 200, false otherwise
* @return boolen
* @return true if the api returned a HTTP status code 200, false othwise
*/
public boolean isSuccessful() {
return pushoverSuccessful;