|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gsm.oneapi.responsebean.mms.RetrieveMMSMessageResponse
public class RetrieveMMSMessageResponse
The full response from the OneAPI server for a request to retrieve the full contents of an MMS message including the message body and attachments
Nested Class Summary | |
---|---|
static class |
RetrieveMMSMessageResponse.Attachment
inner class representing each file attachment returned |
Constructor Summary | |
---|---|
RetrieveMMSMessageResponse()
|
Method Summary | |
---|---|
java.util.ArrayList<RetrieveMMSMessageResponse.Attachment> |
getAttachments()
get the list of attachments to the MMS message |
java.lang.String |
getContentType()
return the HTTP Content-Type returned from the server if available |
int |
getHTTPResponseCode()
return the HTTP response code returned from the server |
InboundMessage |
getInboundMessage()
return the detail of the MMS message |
java.lang.String |
getLocation()
return the HTTP location field returned form the server |
RequestError |
getRequestError()
return the server generated error response (from the JSON based error response) |
void |
setAttachments(java.util.ArrayList<RetrieveMMSMessageResponse.Attachment> attachments)
set the list of attachments to the MMS message. |
void |
setContentType(java.lang.String contentType)
set the HTTP Content-Type header returned by the server |
void |
setHTTPResponseCode(int httpResponseCode)
set the stored HTTP response code |
void |
setInboundMessage(InboundMessage inboundMessage)
set the detail of the MMS message element. |
void |
setLocation(java.lang.String location)
set the HTTP location field |
void |
setRequestError(RequestError requestError)
set the contents of the error response |
java.lang.String |
toString()
generate a textual representation of the RetrieveMMSMessageResponse instance including all nested elements and classes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RetrieveMMSMessageResponse()
Method Detail |
---|
public int getHTTPResponseCode()
public java.lang.String getContentType()
public RequestError getRequestError()
public void setHTTPResponseCode(int httpResponseCode)
httpResponseCode
- sets the stored HTTP response codepublic void setContentType(java.lang.String contentType)
contentType
- sets the stored HTTP Content-Type headerpublic void setRequestError(RequestError requestError)
requestError
- sets the contents of the error responseRequestError
public java.lang.String getLocation()
public void setLocation(java.lang.String location)
location
- contents of the HTTP location headerpublic InboundMessage getInboundMessage()
public void setInboundMessage(InboundMessage inboundMessage)
public java.util.ArrayList<RetrieveMMSMessageResponse.Attachment> getAttachments()
public void setAttachments(java.util.ArrayList<RetrieveMMSMessageResponse.Attachment> attachments)
attachments
- public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |