Package io.ably.lib.types
Class PublishResponse
java.lang.Object
io.ably.lib.types.PublishResponse
Contains the responses from a
PublishResponse
PublishResponse#publish
request.-
Field Summary
FieldsModifier and TypeFieldDescriptionThe channel name a message was successfully published to, or the channel name for which an error was returned.Describes the reason for which a message, or messages failed to publish to a channel as anErrorInfo
object.The unique ID for a successfully published message. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpCore.BodyHandler<PublishResponse>
getBulkPublishResponseHandler
(int statusCode)
-
Field Details
-
error
Describes the reason for which a message, or messages failed to publish to a channel as anErrorInfo
object.Spec: BPB2c
-
channelId
The channel name a message was successfully published to, or the channel name for which an error was returned.Spec: BPB2a
-
messageId
The unique ID for a successfully published message.Spec: BPB2b
-
-
Constructor Details
-
PublishResponse
public PublishResponse()
-
-
Method Details
-
getBulkPublishResponseHandler
-