public class ApiResponseMessage extends Object
| Constructor and Description |
|---|
ApiResponseMessage(int code,
String message)
This creates a ApiResponseMessage with no specific response model for this error code
|
ApiResponseMessage(int code,
String message,
String responseModel)
This creates a ApiResponseMessage with support for a custom model for this response code
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getCode()
This gets the code
|
String |
getMessage()
This gets the message
|
String |
getResponseModel()
This gets the responseModel
|
int |
hashCode() |
String |
toString() |
public ApiResponseMessage(int code,
String message)
code - message - Copyright © 2015. All rights reserved.