- FIELDS - Static variable in class org.eclipse.ditto.protocoladapter.Payload.JsonFields
-
JSON field containing the fields.
- forgetHeaderKeys(Collection<String>) - Method in class org.eclipse.ditto.protocoladapter.HeaderTranslator
-
Build a copy of this header translator without knowledge of certain headers.
- forName(String) - Static method in enum org.eclipse.ditto.protocoladapter.TopicPath.Action
-
Creates a Action from the passed Action name if such an enum value exists, otherwise an empty
Optional.
- forName(String) - Static method in enum org.eclipse.ditto.protocoladapter.TopicPath.Channel
-
Creates a Channel from the passed Channel name if such an enum value exists, otherwise an empty
Optional.
- forName(String) - Static method in enum org.eclipse.ditto.protocoladapter.TopicPath.Criterion
-
Creates a Criterion from the passed Criterion name if such an enum value exists, otherwise an empty
Optional.
- forName(String) - Static method in enum org.eclipse.ditto.protocoladapter.TopicPath.Group
-
Creates a Group from the passed Group name if such an enum value exists, otherwise an empty Optional.
- fromAdaptable(Adaptable) - Method in interface org.eclipse.ditto.protocoladapter.Adapter
-
Maps the given adaptable to it's corresponding T.
- fromAdaptable(Adaptable) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- fromAdaptable(Adaptable) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given adaptable to the corresponding Signal, which can be a Command,
CommandResponse or an Event.
- fromExternalHeaders(Map<String, String>) - Method in class org.eclipse.ditto.protocoladapter.HeaderTranslator
-
Read Ditto headers from external headers.
- fromJson(JsonObject, DittoHeaders) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownCommandException
-
Constructs a new UnknownCommandException object with the exception message extracted from the given JSON
object.
- fromJson(JsonObject, DittoHeaders) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownCommandResponseException
-
Constructs a new UnknownCommandResponseException object with the exception message extracted from the
given JSON object.
- fromJson(JsonObject, DittoHeaders) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownEventException
-
Constructs a new UnknownEventException object with the exception message extracted from the given JSON
object.
- fromJson(JsonObject, DittoHeaders) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownPathException
-
Constructs a new UnknownPathException object with the exception message extracted from the given JSON
object.
- fromJson(JsonObject, DittoHeaders) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownSignalException
-
Constructs a new UnknownSignalException object with the exception message extracted from the given JSON
object.
- fromJson(JsonObject, DittoHeaders) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownTopicPathException
-
Constructs a new UnknownTopicPathException object with the exception message extracted from the given
JSON object.
- fromMessage(String, DittoHeaders) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownCommandException
-
Constructs a new UnknownCommandException object with given message.
- fromMessage(String, DittoHeaders) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownCommandResponseException
-
Constructs a new UnknownCommandResponseException object with given message.
- fromMessage(String, DittoHeaders) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownEventException
-
Constructs a new UnknownEventException object with given message.
- fromMessage(String, DittoHeaders) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownPathException
-
Constructs a new UnknownPathException object with given message.
- fromMessage(String, DittoHeaders) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownSignalException
-
Constructs a new UnknownSignalException object with given message.
- fromMessage(String, DittoHeaders) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownTopicPathException
-
Constructs a new UnknownTopicPathException object with given message.
- fromNamespace(String) - Static method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
Returns a mutable builder to create immutable TopicPath instances for a given namespace.
- getAction() - Method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
Returns an
Optional for an action part of this
TopicPath.
- getChannel() - Method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
Returns the channel part of this TopicPath.
- getCriterion() - Method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
Returns the criterion part of this TopicPath.
- getDirection() - Method in interface org.eclipse.ditto.protocoladapter.MessagePath
-
Retrieve the direction if this message path has an inbox or outbox specification.
- getFeatureId() - Method in interface org.eclipse.ditto.protocoladapter.MessagePath
-
Retrieve the feature ID if this message path has a feature ID.
- getFields() - Method in interface org.eclipse.ditto.protocoladapter.Payload
-
Returns the fields of this Payload if present.
- getGroup() - Method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
Returns the group part of this TopicPath.
- getHeaders() - Method in interface org.eclipse.ditto.protocoladapter.Adaptable
-
Returns the DittoHeaders of this Adaptable if present.
- getHeaderTranslator() - Static method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
Creates a default header translator for this protocol adapter.
- getId() - Method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
Returns the id part of this TopicPath.
- getName() - Method in enum org.eclipse.ditto.protocoladapter.TopicPath.Action
-
Returns the Action name as String.
- getName() - Method in enum org.eclipse.ditto.protocoladapter.TopicPath.Channel
-
Returns the Channel name as String.
- getName() - Method in enum org.eclipse.ditto.protocoladapter.TopicPath.Criterion
-
Returns the Criterion name as String.
- getName() - Method in enum org.eclipse.ditto.protocoladapter.TopicPath.Group
-
Returns the Group name as String.
- getNamespace() - Method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
Returns the namespace part of this TopicPath.
- getPath() - Method in interface org.eclipse.ditto.protocoladapter.Payload
-
Returns the path of this Payload.
- getPath() - Method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
Returns the path of this TopicPath.
- getPayload() - Method in interface org.eclipse.ditto.protocoladapter.Adaptable
-
Returns the Payload of this Adaptable.
- getRevision() - Method in interface org.eclipse.ditto.protocoladapter.Payload
-
Returns the revision of this Payload if present.
- getStatus() - Method in interface org.eclipse.ditto.protocoladapter.Payload
-
Returns the status of this Payload if present.
- getSubject() - Method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
Returns an
Optional for a subject part of this
TopicPath.
- getTimestamp() - Method in interface org.eclipse.ditto.protocoladapter.Payload
-
Returns the timestamp of this Payload if present.
- getTopicPath() - Method in interface org.eclipse.ditto.protocoladapter.Adaptable
-
Returns the TopicPath of this Adaptable.
- getValue() - Method in interface org.eclipse.ditto.protocoladapter.Payload
-
Returns the value of this Payload if present.
- newAdaptableBuilder(TopicPath) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new AdaptableBuilder for the specified topicPath.
- newAdaptableBuilder(Adaptable) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new AdaptableBuilder for the existing existingAdaptable.
- newAdaptableBuilder(Adaptable, TopicPath) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new AdaptableBuilder for the existing existingAdaptable and a specific
overwriteTopicPath to overwrite the one in existingAdaptable.
- newBuilder(TopicPath) - Static method in interface org.eclipse.ditto.protocoladapter.Adaptable
-
Returns a mutable builder to create immutable Adaptable instances for a given topicPath.
- newBuilder(JsonPointer) - Static method in interface org.eclipse.ditto.protocoladapter.Payload
-
Returns a mutable builder to create immutable Payload instances for a given path.
- newBuilder() - Static method in interface org.eclipse.ditto.protocoladapter.Payload
-
Returns a mutable builder to create immutable Payload without a path.
- newBuilder(String) - Static method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
- newBuilder(ThingId) - Static method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
Returns a mutable builder to create immutable TopicPath instances for a given thingId.
- newBuilder(String) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownCommandException
-
A mutable builder for a UnknownCommandException.
- newBuilder(String) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownCommandResponseException
-
A mutable builder for a UnknownCommandResponseException.
- newBuilder(String) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownEventException
-
A mutable builder for a UnknownEventException.
- newBuilder(JsonPointer) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownPathException
-
A mutable builder for a UnknownPathException.
- newBuilder(String) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownSignalException
-
A mutable builder for a UnknownSignalException.
- newBuilder(TopicPath) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownTopicPathException
-
A mutable builder for a UnknownTopicPathException.
- newBuilder(String) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownTopicPathException
-
A mutable builder for a UnknownTopicPathException.
- newHeaders(Collection<Map.Entry<String, String>>) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns new Headers for the specified headers map.
- newHeaders(JsonObject) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns new Headers for the specified headersAsJson.
- newHeadersWithDittoContentType(Map<String, String>) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns new Headers for the specified headers map.
- newInstance() - Static method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
Creates a new DittoProtocolAdapter instance.
- newPayload(String) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new Payload from the specified jsonString.
- newPayload(JsonObject) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new Payload from the specified jsonObject.
- newPayloadBuilder() - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new PayloadBuilder without a path.
- newPayloadBuilder(JsonPointer) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new PayloadBuilder for the specified path.
- newTopicPath(String) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new TopicPath for the specified path.
- newTopicPathBuilder(String) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
- newTopicPathBuilder(ThingId) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new TopicPathBuilder for the specified thingId.
- newTopicPathBuilderFromNamespace(String) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new TopicPathBuilder.
- things() - Method in interface org.eclipse.ditto.protocoladapter.TopicPathBuilder
-
- TIMESTAMP - Static variable in class org.eclipse.ditto.protocoladapter.Payload.JsonFields
-
JSON field containing the revision.
- toAdaptable(T) - Method in interface org.eclipse.ditto.protocoladapter.Adapter
-
Maps the given
t to it's corresponding
Adaptable using the
Twin
channel.
- toAdaptable(T, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.Adapter
-
Maps the given t to it's corresponding Adaptable.
- toAdaptable(Signal<?>) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(CommandResponse<?>) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(CommandResponse<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(ThingCommandResponse<?>) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(ThingCommandResponse<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(MessageCommand<?, ?>) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(MessageCommandResponse<?, ?>) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(Command<?>) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(Command<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(ThingModifyCommand<?>) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(ThingModifyCommand<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(ThingModifyCommandResponse<?>) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(ThingModifyCommandResponse<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(ThingQueryCommand<?>) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(ThingQueryCommand<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(ThingQueryCommandResponse<?>) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(ThingQueryCommandResponse<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(ThingErrorResponse, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(Event<?>) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(Event<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(ThingEvent<?>) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(ThingEvent<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
- toAdaptable(Signal<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given Signal to an Adaptable.
- toAdaptable(CommandResponse<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given CommandResponse to an Adaptable.
- toAdaptable(CommandResponse<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given CommandResponse to an Adaptable.
- toAdaptable(ThingCommandResponse<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given ThingCommandResponse to an Adaptable.
- toAdaptable(ThingCommandResponse<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given ThingCommandResponse to an Adaptable.
- toAdaptable(MessageCommand<?, ?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given messageCommand to an Adaptable.
- toAdaptable(MessageCommandResponse<?, ?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given messageCommandResponse to an Adaptable.
- toAdaptable(Command<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given command to an Adaptable.
- toAdaptable(Command<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given command to an Adaptable.
- toAdaptable(ThingModifyCommand<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given thingModifyCommand to an Adaptable.
- toAdaptable(ThingModifyCommand<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given thingModifyCommand to an Adaptable.
- toAdaptable(ThingModifyCommandResponse<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given thingModifyCommandResponse to an Adaptable.
- toAdaptable(ThingModifyCommandResponse<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given thingModifyCommandResponse to an Adaptable.
- toAdaptable(ThingQueryCommand<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given thingQueryCommand to an Adaptable.
- toAdaptable(ThingQueryCommand<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given thingQueryCommand to an Adaptable.
- toAdaptable(ThingQueryCommandResponse<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given thingQueryCommandResponse to an Adaptable.
- toAdaptable(ThingQueryCommandResponse<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given thingQueryCommandResponse to an Adaptable.
- toAdaptable(ThingErrorResponse, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given thingErrorResponse to an Adaptable.
- toAdaptable(Event<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given event to an Adaptable.
- toAdaptable(Event<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given event to an Adaptable.
- toAdaptable(ThingEvent<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given thingEvent to an Adaptable.
- toAdaptable(ThingEvent<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given thingEvent to an Adaptable.
- toExternalHeaders(DittoHeaders) - Method in class org.eclipse.ditto.protocoladapter.HeaderTranslator
-
Publish Ditto headers to external headers.
- toJson(DittoHeaders) - Method in interface org.eclipse.ditto.protocoladapter.JsonifiableAdaptable
-
Returns this object as JsonObject with the specified specificHeaders instead of the ones
this Adaptable contains.
- TOPIC - Static variable in class org.eclipse.ditto.protocoladapter.JsonifiableAdaptable.JsonFields
-
JSON field containing the topic.
- TopicPath - Interface in org.eclipse.ditto.protocoladapter
-
Represents the path of a topic for the Ditto Protocol.
- TopicPath.Action - Enum in org.eclipse.ditto.protocoladapter
-
An enumeration of topic path actions.
- TopicPath.Channel - Enum in org.eclipse.ditto.protocoladapter
-
An enumeration of topic path channel.
- TopicPath.Criterion - Enum in org.eclipse.ditto.protocoladapter
-
An enumeration of topic path criteria.
- TopicPath.Group - Enum in org.eclipse.ditto.protocoladapter
-
An enumeration of topic path groups.
- TopicPathBuildable - Interface in org.eclipse.ditto.protocoladapter
-
Provides a build method to actually build a topic path.
- TopicPathBuilder - Interface in org.eclipse.ditto.protocoladapter
-
- toString() - Method in class org.eclipse.ditto.protocoladapter.HeaderTranslator
-
- toString() - Method in enum org.eclipse.ditto.protocoladapter.TopicPath.Action
-
- toString() - Method in enum org.eclipse.ditto.protocoladapter.TopicPath.Channel
-
- toString() - Method in enum org.eclipse.ditto.protocoladapter.TopicPath.Criterion
-
- toString() - Method in enum org.eclipse.ditto.protocoladapter.TopicPath.Group
-
- twin() - Method in interface org.eclipse.ditto.protocoladapter.TopicPathBuilder
-