public abstract class AdminServicesAPIResponse extends Object implements Serializable
| Constructor and Description |
|---|
AdminServicesAPIResponse()
Default constructor
|
AdminServicesAPIResponse(AdminServicesAPIResponse template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
String |
getExceptionClassName()
Return the name of the Java class name to use to recreate the exception.
|
String |
getExceptionErrorMessage()
Return the error message associated with the exception.
|
Map<String,Object> |
getExceptionProperties()
Return the additional properties stored by the exceptions.
|
String |
getExceptionSystemAction()
Return the description of the action taken by the system as a result of the exception.
|
String |
getExceptionUserAction()
Return the action that a user should take to resolve the problem.
|
int |
getRelatedHTTPCode()
Return the HTTP Code to use if forwarding response to HTTP client.
|
int |
hashCode()
Return hash code for this object
|
void |
setExceptionClassName(String exceptionClassName)
Set up the name of the Java class name to use to recreate the exception.
|
void |
setExceptionErrorMessage(String exceptionErrorMessage)
Set up the error message associated with the exception.
|
void |
setExceptionProperties(Map<String,Object> exceptionProperties)
Set up the additional properties stored by the exceptions.
|
void |
setExceptionSystemAction(String exceptionSystemAction)
Set up the description of the action taken by the system as a result of the exception.
|
void |
setExceptionUserAction(String exceptionUserAction)
Set up the action that a user should take to resolve the problem.
|
void |
setRelatedHTTPCode(int relatedHTTPCode)
Set up the HTTP Code to use if forwarding response to HTTP client.
|
String |
toString()
JSON-like toString
|
public AdminServicesAPIResponse()
public AdminServicesAPIResponse(AdminServicesAPIResponse template)
template - object to copypublic int getRelatedHTTPCode()
public void setRelatedHTTPCode(int relatedHTTPCode)
relatedHTTPCode - - integer HTTP status codepublic String getExceptionClassName()
public void setExceptionClassName(String exceptionClassName)
exceptionClassName - - String name of the fully-qualified java class namepublic String getExceptionErrorMessage()
public void setExceptionErrorMessage(String exceptionErrorMessage)
exceptionErrorMessage - - string error messagepublic String getExceptionSystemAction()
public void setExceptionSystemAction(String exceptionSystemAction)
exceptionSystemAction - - string description of the action takenpublic String getExceptionUserAction()
public void setExceptionUserAction(String exceptionUserAction)
exceptionUserAction - - string instructionspublic Map<String,Object> getExceptionProperties()
public void setExceptionProperties(Map<String,Object> exceptionProperties)
exceptionProperties - property mappublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018 ODPi. All rights reserved.