public class NotificationResponse
extends java.lang.Object
| Constructor and Description |
|---|
NotificationResponse(NotificationRequestError error,
int httpStatusCode,
java.lang.String responseBody,
java.lang.Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause()
Returns the throwable from the underlying HttpClient.
|
NotificationRequestError |
getError()
Returns the error.
|
int |
getHttpStatusCode()
Returns the real HTTP status code.
|
java.lang.String |
getResponseBody()
Returns the content body (null for a successful response).
|
java.lang.String |
toString() |
public NotificationResponse(NotificationRequestError error, int httpStatusCode, java.lang.String responseBody, java.lang.Throwable cause)
public java.lang.Throwable getCause()
public NotificationRequestError getError()
public int getHttpStatusCode()
public java.lang.String getResponseBody()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2020. All Rights Reserved.