@Deprecated public interface ServiceTopicResponse
This encapsulates the details of a response from a call to
ServiceTopicHandler.request(String, TopicMessage)
.
Modifier and Type | Method and Description |
---|---|
ServiceTopicHandler |
getHandler()
Deprecated.
Returns the handler that the request was issued to.
|
String |
getRequestId()
Deprecated.
Return the request identifier.
|
TopicMessage |
getResponseMessage()
Deprecated.
Return details of the response in the form of a message containing
headers and/or data returned from the server.
|
String |
getResponseType()
Deprecated.
Returns a response type.
|
ServiceTopicHandler getHandler()
String getResponseType()
This identifies the type of response and is as defined by the service itself.
String getRequestId()
This returns the original identifier that was passed with the request,
as returned by ServiceTopicHandler.request(String, TopicMessage)
.
TopicMessage getResponseMessage()
Note that it is permissible for the response message to be completely empty.
Copyright © 2016 Push Technology Ltd. All Rights Reserved.