|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mirth.connect.server.userutil.ImmutableResponse
public class ImmutableResponse
This class represents a destination response and is used to retrieve details such as the response data, message status, and errors.
| Constructor Summary | |
|---|---|
ImmutableResponse(Response response)
Instantiates a new ImmutableResponse object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getError()
Returns the error string associated with this response, if it exists. |
java.lang.String |
getMessage()
Returns the actual response data, as a string. |
Status |
getNewMessageStatus()
Returns the Status (e.g. |
java.lang.String |
getStatusMessage()
Returns a brief message explaining the reason for the current status. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImmutableResponse(Response response)
response - The Response object that this object will reference for retrieving data.| Method Detail |
|---|
public java.lang.String getMessage()
public Status getNewMessageStatus()
public java.lang.String getError()
public java.lang.String getStatusMessage()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||