public interface IResponseStatus extends Serializable
The status must contain a status code and may contain a sub-status code and a status message.
A response is either a success response or a failure response hence the corresponding flag isFailure()
.
Modifier and Type | Method and Description |
---|---|
String |
getStatusCode()
Returns the status code of the response.
|
String |
getStatusMessage()
Returns the detailed status message of the response.
|
String |
getSubStatusCode()
Returns the secondary status code of the response.
|
boolean |
isFailure()
Returns
true if the authentication failed, returns false otherwise. |
@Nonnull String getStatusCode()
@Nullable String getStatusMessage()
@Nullable String getSubStatusCode()
boolean isFailure()
true
if the authentication failed, returns false
otherwise.true
if the authentication failed, returns false
otherwise.Copyright © 2020. All Rights Reserved.