A B C D E F G H I J L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractAdapter<T extends org.eclipse.ditto.model.base.json.Jsonifiable.WithPredicate<org.eclipse.ditto.json.JsonObject,org.eclipse.ditto.json.JsonField>> - Class in org.eclipse.ditto.protocoladapter
-
Abstract implementation of
Adapter
to provide common functionality. - AbstractAdapter(MappingStrategies<T>, HeaderTranslator, PayloadPathMatcher) - Constructor for class org.eclipse.ditto.protocoladapter.AbstractAdapter
- AbstractErrorResponseAdapter<T extends org.eclipse.ditto.signals.commands.base.ErrorResponse<T>> - Class in org.eclipse.ditto.protocoladapter
-
Adapter for mapping a
ErrorResponse
to and from anAdaptable
. - AbstractErrorResponseAdapter(HeaderTranslator, ErrorRegistry<DittoRuntimeException>) - Constructor for class org.eclipse.ditto.protocoladapter.AbstractErrorResponseAdapter
- AcknowledgementAdapterProvider - Interface in org.eclipse.ditto.protocoladapter.provider
-
Provider for all Acknowledgement adapters.
- AcknowledgementTopicPathBuilder - Interface in org.eclipse.ditto.protocoladapter
-
Builder to create a topic path for Acknowledgements.
- acks() - Method in interface org.eclipse.ditto.protocoladapter.TopicPathBuilder
-
Sets the
Criterion
of this builder toTopicPath.Criterion.ACKS
. - ACKS - org.eclipse.ditto.protocoladapter.TopicPath.Criterion
-
Criterion for the topic path of an acknowledgement (ACK).
- Adaptable - Interface in org.eclipse.ditto.protocoladapter
-
An
Adaptable
can be mapped to and from aCommand
,CommandResponse
orEvent
. - AdaptableBuilder - Interface in org.eclipse.ditto.protocoladapter
-
A builder to create
Adaptable
instances. - Adapter<T extends org.eclipse.ditto.model.base.json.Jsonifiable<?>> - Interface in org.eclipse.ditto.protocoladapter
- AdapterProvider - Interface in org.eclipse.ditto.protocoladapter.provider
-
Provider for all available
Adapter
s of a certain type (things or policies). - aggregatedAcks() - Method in interface org.eclipse.ditto.protocoladapter.AcknowledgementTopicPathBuilder
-
Remove the custom Acknowledgement label from the topic path to signify aggregated acks.
B
- build() - Method in interface org.eclipse.ditto.protocoladapter.AdaptableBuilder
-
Creates a new
Adaptable
from the previously set values. - build() - Method in interface org.eclipse.ditto.protocoladapter.PayloadBuilder
-
Creates a new
Payload
from the previously set values. - build() - Method in interface org.eclipse.ditto.protocoladapter.TopicPathBuildable
-
Creates a new
TopicPath
from the previously set values. - buildErrorResponse(TopicPath, DittoRuntimeException, DittoHeaders) - Method in class org.eclipse.ditto.protocoladapter.AbstractErrorResponseAdapter
-
Implementations can build the
ErrorResponse
from the given parameters.
C
- cancel() - Method in interface org.eclipse.ditto.protocoladapter.SearchTopicPathBuilder
-
Sets the
Action
of this builder toTopicPath.SearchAction.CANCEL
. - CANCEL - org.eclipse.ditto.protocoladapter.TopicPath.SearchAction
- commands() - Method in interface org.eclipse.ditto.protocoladapter.TopicPathBuilder
-
Sets the
Criterion
of this builder toTopicPath.Criterion.COMMANDS
. - COMMANDS - org.eclipse.ditto.protocoladapter.TopicPath.Criterion
- CommandsTopicPathBuilder - Interface in org.eclipse.ditto.protocoladapter
-
Builder to create a topic path for commands.
- complete() - Method in interface org.eclipse.ditto.protocoladapter.SearchTopicPathBuilder
-
Sets the
Action
of this builder toTopicPath.SearchAction.COMPLETE
. - COMPLETE - org.eclipse.ditto.protocoladapter.TopicPath.SearchAction
- containsHeaderForKey(CharSequence) - Method in interface org.eclipse.ditto.protocoladapter.Adaptable
-
Indicates whether this Adaptable contains a header with the specified key.
- create() - Method in interface org.eclipse.ditto.protocoladapter.CommandsTopicPathBuilder
-
Sets the
Action
of this builder toTopicPath.Action.CREATE
. - CREATE - org.eclipse.ditto.protocoladapter.TopicPath.Action
- created() - Method in interface org.eclipse.ditto.protocoladapter.EventsTopicPathBuilder
-
Sets the
Action
of this builder toTopicPath.Action.CREATED
. - CREATED - org.eclipse.ditto.protocoladapter.TopicPath.Action
D
- decode(String) - Static method in class org.eclipse.ditto.protocoladapter.DittoEncodingHelper
-
Deprecated.Decodes the given String by decoding the "percent-encoded" characters in the passed
decodeTarget
. - DefaultAcknowledgementsAdapterProvider - Class in org.eclipse.ditto.protocoladapter.acknowledgements
-
Instantiates and provides
Adapter
s used to process Acknowledgements. - DefaultAcknowledgementsAdapterProvider(ErrorRegistry<DittoRuntimeException>, HeaderTranslator) - Constructor for class org.eclipse.ditto.protocoladapter.acknowledgements.DefaultAcknowledgementsAdapterProvider
- DefaultPayloadPathMatcher - Class in org.eclipse.ditto.protocoladapter
-
Utility class for matching
Payload
path. - DefaultPolicyCommandAdapterProvider - Class in org.eclipse.ditto.protocoladapter.policies
-
Instantiates and provides
Adapter
s used to process Policy commands, responses and errors. - DefaultPolicyCommandAdapterProvider(ErrorRegistry<DittoRuntimeException>, HeaderTranslator) - Constructor for class org.eclipse.ditto.protocoladapter.policies.DefaultPolicyCommandAdapterProvider
- DefaultThingCommandAdapterProvider - Class in org.eclipse.ditto.protocoladapter.things
-
Instantiates and provides
Adapter
s used to process Thing commands, responses, messages, events and errors. - DefaultThingCommandAdapterProvider(ErrorRegistry<DittoRuntimeException>, HeaderTranslator) - Constructor for class org.eclipse.ditto.protocoladapter.things.DefaultThingCommandAdapterProvider
- delete() - Method in interface org.eclipse.ditto.protocoladapter.CommandsTopicPathBuilder
-
Sets the
Action
of this builder toTopicPath.Action.DELETE
. - DELETE - org.eclipse.ditto.protocoladapter.TopicPath.Action
- deleted() - Method in interface org.eclipse.ditto.protocoladapter.EventsTopicPathBuilder
-
Sets the
Action
of this builder toTopicPath.Action.DELETED
. - DELETED - org.eclipse.ditto.protocoladapter.TopicPath.Action
- determineChannel(Signal<?>) - Static method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Determine the channel of the processed
Signal
. - determineDefaultChannel(Signal<?>) - Static method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Determines the default channel of the processed
Signal
by signal type. - DittoEncodingHelper - Class in org.eclipse.ditto.protocoladapter
-
Deprecated.DittoEncodingHelper is not longer in use.
- dittoHeadersFrom(Adaptable) - Static method in class org.eclipse.ditto.protocoladapter.AbstractAdapter
-
Reads Ditto headers from an Adaptable.
- DittoProtocolAdapter - Class in org.eclipse.ditto.protocoladapter
-
Adapter for the Ditto protocol.
- doBuild(DittoHeaders, String, String, Throwable, URI) - Method in class org.eclipse.ditto.protocoladapter.UnknownChannelException.Builder
- doBuild(DittoHeaders, String, String, Throwable, URI) - Method in class org.eclipse.ditto.protocoladapter.UnknownCommandException.Builder
- doBuild(DittoHeaders, String, String, Throwable, URI) - Method in class org.eclipse.ditto.protocoladapter.UnknownCommandResponseException.Builder
- doBuild(DittoHeaders, String, String, Throwable, URI) - Method in class org.eclipse.ditto.protocoladapter.UnknownEventException.Builder
- doBuild(DittoHeaders, String, String, Throwable, URI) - Method in class org.eclipse.ditto.protocoladapter.UnknownPathException.Builder
- doBuild(DittoHeaders, String, String, Throwable, URI) - Method in class org.eclipse.ditto.protocoladapter.UnknownSignalException.Builder
- doBuild(DittoHeaders, String, String, Throwable, URI) - Method in class org.eclipse.ditto.protocoladapter.UnknownTopicPathException.Builder
E
- empty() - Static method in class org.eclipse.ditto.protocoladapter.DefaultPayloadPathMatcher
-
Creates a
PayloadPathMatcher
instance that does not match any pattern. - empty() - Static method in class org.eclipse.ditto.protocoladapter.HeaderTranslator
-
Construct a Ditto header translator that knows about nothing.
- emptyHeaders() - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns new empty
Headers
. - emptyTopicPath() - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns an empty
TopicPath
. - encode(String) - Static method in class org.eclipse.ditto.protocoladapter.DittoEncodingHelper
-
Deprecated.Encodes the given String by "percent-encoding" the harmful characters.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.protocoladapter.UnknownChannelException
-
Error code of this exception.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.protocoladapter.UnknownCommandException
-
Error code of this exception.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.protocoladapter.UnknownCommandResponseException
-
Error code of this exception.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.protocoladapter.UnknownEventException
-
Error code of this exception.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.protocoladapter.UnknownPathException
-
Error code of this exception.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.protocoladapter.UnknownSignalException
-
Error code of this exception.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.protocoladapter.UnknownTopicPathException
-
Error code of this exception.
- ErrorResponseAdapter<T extends org.eclipse.ditto.signals.commands.base.ErrorResponse<?>> - Interface in org.eclipse.ditto.protocoladapter
-
An
Adapter
mixin for error responses. - errors() - Method in interface org.eclipse.ditto.protocoladapter.TopicPathBuilder
-
Sets the
Criterion
of this builder toTopicPath.Criterion.ERRORS
. - ERRORS - org.eclipse.ditto.protocoladapter.TopicPath.Criterion
- EventAdapter<T extends org.eclipse.ditto.signals.events.base.Event<?>> - Interface in org.eclipse.ditto.protocoladapter
- events() - Method in interface org.eclipse.ditto.protocoladapter.TopicPathBuilder
-
Sets the
Criterion
of this builder toTopicPath.Criterion.EVENTS
. - EVENTS - org.eclipse.ditto.protocoladapter.TopicPath.Criterion
- EventsTopicPathBuilder - Interface in org.eclipse.ditto.protocoladapter
-
Builder to create a topic path for events.
- EXTRA - Static variable in class org.eclipse.ditto.protocoladapter.Payload.JsonFields
-
JSON field containing the extra data aka payload enrichment.
F
- failed() - Method in interface org.eclipse.ditto.protocoladapter.SearchTopicPathBuilder
-
Sets the
Action
of this builder toTopicPath.SearchAction.FAILED
. - FAILED - org.eclipse.ditto.protocoladapter.TopicPath.SearchAction
- FIELDS - Static variable in class org.eclipse.ditto.protocoladapter.Payload.JsonFields
-
JSON field containing the fields.
- find(String) - Method in interface org.eclipse.ditto.protocoladapter.adaptables.MappingStrategies
-
Finds the correct
JsonifiableMapper
for the given type. - forgetHeaderKeys(Collection<String>) - Method in class org.eclipse.ditto.protocoladapter.HeaderTranslator
-
Deprecated.this method will be removed in version 2.0.
- 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. - forName(String) - Static method in enum org.eclipse.ditto.protocoladapter.TopicPath.SearchAction
-
Creates a SearchAction from the passed SearchAction
name
if such an enum value exists, otherwise an empty Optional. - from(Map<String, Pattern>) - Static method in class org.eclipse.ditto.protocoladapter.DefaultPayloadPathMatcher
- fromAdaptable(Adaptable) - Method in class org.eclipse.ditto.protocoladapter.AbstractAdapter
- fromAdaptable(Adaptable) - Method in class org.eclipse.ditto.protocoladapter.AbstractErrorResponseAdapter
- fromAdaptable(Adaptable) - Method in interface org.eclipse.ditto.protocoladapter.Adapter
-
Maps the given
adaptable
to its correspondingT
. - 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 correspondingSignal
, which can be aCommand
,CommandResponse
or anEvent
. - 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.UnknownChannelException
-
Constructs a new
UnknownChannelException
object with the exception message extracted from the given JSON object. - 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 givennamespace
.
G
- generated() - Method in interface org.eclipse.ditto.protocoladapter.SearchTopicPathBuilder
-
Sets the
Action
of this builder toTopicPath.SearchAction.GENERATED
. - GENERATED - org.eclipse.ditto.protocoladapter.TopicPath.SearchAction
- getAcknowledgementAdapter() - Method in class org.eclipse.ditto.protocoladapter.acknowledgements.DefaultAcknowledgementsAdapterProvider
- getAcknowledgementAdapter() - Method in interface org.eclipse.ditto.protocoladapter.provider.AcknowledgementAdapterProvider
- getAcknowledgementsAdapter() - Method in class org.eclipse.ditto.protocoladapter.acknowledgements.DefaultAcknowledgementsAdapterProvider
- getAcknowledgementsAdapter() - Method in interface org.eclipse.ditto.protocoladapter.provider.AcknowledgementAdapterProvider
- getAction() - Method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
Returns an
Optional
for an action part of thisTopicPath
. - getAction(TopicPath) - Static method in class org.eclipse.ditto.protocoladapter.AbstractAdapter
- getActions() - Method in interface org.eclipse.ditto.protocoladapter.Adapter
-
Retrieve the set of actions supported by this adapter.
- getActions() - Method in interface org.eclipse.ditto.protocoladapter.ErrorResponseAdapter
- getActions() - Method in interface org.eclipse.ditto.protocoladapter.EventAdapter
- getActions() - Method in interface org.eclipse.ditto.protocoladapter.ModifyCommandAdapter
- getActions() - Method in interface org.eclipse.ditto.protocoladapter.ModifyCommandResponseAdapter
- getActions() - Method in interface org.eclipse.ditto.protocoladapter.QueryCommandAdapter
- getActions() - Method in interface org.eclipse.ditto.protocoladapter.QueryCommandResponseAdapter
- getActions() - Method in class org.eclipse.ditto.protocoladapter.things.ThingSearchCommandAdapter
- getAdapters() - Method in class org.eclipse.ditto.protocoladapter.acknowledgements.DefaultAcknowledgementsAdapterProvider
- getAdapters() - Method in class org.eclipse.ditto.protocoladapter.policies.DefaultPolicyCommandAdapterProvider
- getAdapters() - Method in interface org.eclipse.ditto.protocoladapter.provider.AdapterProvider
-
Retrieve all adapters known to this provider.
- getAdapters() - Method in class org.eclipse.ditto.protocoladapter.things.DefaultThingCommandAdapterProvider
- getChannel() - Method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
Returns the channel part of this
TopicPath
. - getChannels() - Method in interface org.eclipse.ditto.protocoladapter.Adapter
-
Retrieve the set of channels supported by this adapter.
- getCriteria() - Method in interface org.eclipse.ditto.protocoladapter.Adapter
-
Retrieve the set of criteria supported by this adapter.
- getCriteria() - Method in interface org.eclipse.ditto.protocoladapter.ErrorResponseAdapter
- getCriteria() - Method in interface org.eclipse.ditto.protocoladapter.EventAdapter
- getCriteria() - Method in interface org.eclipse.ditto.protocoladapter.ModifyCommandAdapter
- getCriteria() - Method in interface org.eclipse.ditto.protocoladapter.ModifyCommandResponseAdapter
- getCriteria() - Method in interface org.eclipse.ditto.protocoladapter.QueryCommandAdapter
- getCriteria() - Method in interface org.eclipse.ditto.protocoladapter.QueryCommandResponseAdapter
- getCriteria() - Method in class org.eclipse.ditto.protocoladapter.things.ThingSearchCommandAdapter
- 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.
- getErrorResponseAdapter() - Method in class org.eclipse.ditto.protocoladapter.policies.DefaultPolicyCommandAdapterProvider
- getErrorResponseAdapter() - Method in class org.eclipse.ditto.protocoladapter.things.DefaultThingCommandAdapterProvider
- getEventAdapter() - Method in class org.eclipse.ditto.protocoladapter.things.DefaultThingCommandAdapterProvider
- getExtra() - Method in interface org.eclipse.ditto.protocoladapter.Payload
-
Returns the extra information which enriches the actual value of this payload.
- 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 thisPayload
if present. - getGroup() - Method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
Returns the group part of this
TopicPath
. - getGroups() - Method in interface org.eclipse.ditto.protocoladapter.Adapter
-
Retrieve the set of groups supported by this adapter.
- getHeaders() - Method in interface org.eclipse.ditto.protocoladapter.Adaptable
-
Returns the
DittoHeaders
of thisAdaptable
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
. - getMessageCommandAdapter() - Method in class org.eclipse.ditto.protocoladapter.things.DefaultThingCommandAdapterProvider
- getMessageCommandMappingStrategies() - Static method in class org.eclipse.ditto.protocoladapter.adaptables.MappingStrategiesFactory
- getMessageCommandResponseAdapter() - Method in class org.eclipse.ditto.protocoladapter.things.DefaultThingCommandAdapterProvider
- getMessageCommandResponseMappingStrategies() - Static method in class org.eclipse.ditto.protocoladapter.adaptables.MappingStrategiesFactory
- getModifyCommandAdapter() - Method in class org.eclipse.ditto.protocoladapter.policies.DefaultPolicyCommandAdapterProvider
- getModifyCommandAdapter() - Method in class org.eclipse.ditto.protocoladapter.things.DefaultThingCommandAdapterProvider
- getModifyCommandResponseAdapter() - Method in class org.eclipse.ditto.protocoladapter.policies.DefaultPolicyCommandAdapterProvider
- getModifyCommandResponseAdapter() - Method in class org.eclipse.ditto.protocoladapter.things.DefaultThingCommandAdapterProvider
- 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.
- getName() - Method in enum org.eclipse.ditto.protocoladapter.TopicPath.SearchAction
-
Returns the SearchAction 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 thisPayload
. - 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 thisAdaptable
. - getPolicyModifyCommandMappingStrategies() - Static method in class org.eclipse.ditto.protocoladapter.adaptables.MappingStrategiesFactory
- getPolicyModifyCommandResponseMappingStrategies() - Static method in class org.eclipse.ditto.protocoladapter.adaptables.MappingStrategiesFactory
- getPolicyQueryCommandMappingStrategies() - Static method in class org.eclipse.ditto.protocoladapter.adaptables.MappingStrategiesFactory
- getPolicyQueryCommandResponseMappingStrategies() - Static method in class org.eclipse.ditto.protocoladapter.adaptables.MappingStrategiesFactory
- getQueryCommandAdapter() - Method in class org.eclipse.ditto.protocoladapter.policies.DefaultPolicyCommandAdapterProvider
- getQueryCommandAdapter() - Method in class org.eclipse.ditto.protocoladapter.things.DefaultThingCommandAdapterProvider
- getQueryCommandResponseAdapter() - Method in class org.eclipse.ditto.protocoladapter.policies.DefaultPolicyCommandAdapterProvider
- getQueryCommandResponseAdapter() - Method in class org.eclipse.ditto.protocoladapter.things.DefaultThingCommandAdapterProvider
- getRevision() - Method in interface org.eclipse.ditto.protocoladapter.Payload
-
Returns the
revision
of thisPayload
if present. - getSearchAction() - Method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
Returns an
Optional
for an search action part of thisTopicPath
. - getSearchActions() - Method in interface org.eclipse.ditto.protocoladapter.Adapter
-
Return the set of search actions supported by this adapter.
- getSearchActions() - Method in class org.eclipse.ditto.protocoladapter.things.ThingSearchCommandAdapter
- getSearchCommandAdapter() - Method in class org.eclipse.ditto.protocoladapter.things.DefaultThingCommandAdapterProvider
- getStatus() - Method in interface org.eclipse.ditto.protocoladapter.Payload
-
Returns the
status
of thisPayload
if present. - getSubject() - Method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
Returns an
Optional
for a subject part of thisTopicPath
. - getSubscriptionEventAdapter() - Method in class org.eclipse.ditto.protocoladapter.things.DefaultThingCommandAdapterProvider
- getSubscriptionEventMappingStrategies(ErrorRegistry<?>) - Static method in class org.eclipse.ditto.protocoladapter.adaptables.MappingStrategiesFactory
- getThingEventMappingStrategies() - Static method in class org.eclipse.ditto.protocoladapter.adaptables.MappingStrategiesFactory
- getThingModifyCommandMappingStrategies() - Static method in class org.eclipse.ditto.protocoladapter.adaptables.MappingStrategiesFactory
- getThingModifyCommandResponseMappingStrategies() - Static method in class org.eclipse.ditto.protocoladapter.adaptables.MappingStrategiesFactory
- getThingQueryCommandMappingStrategies() - Static method in class org.eclipse.ditto.protocoladapter.adaptables.MappingStrategiesFactory
- getThingQueryCommandResponseMappingStrategies() - Static method in class org.eclipse.ditto.protocoladapter.adaptables.MappingStrategiesFactory
- getThingSearchCommandMappingStrategies() - Static method in class org.eclipse.ditto.protocoladapter.adaptables.MappingStrategiesFactory
- getTimestamp() - Method in interface org.eclipse.ditto.protocoladapter.Payload
-
Returns the
timestamp
of thisPayload
if present. - getTopicPath() - Method in interface org.eclipse.ditto.protocoladapter.Adaptable
-
Returns the
TopicPath
of thisAdaptable
. - getTopicPathBuilder(T) - Method in class org.eclipse.ditto.protocoladapter.AbstractErrorResponseAdapter
-
Implementations must provide a
TopicPathBuilder
for the givenerrorResponse
. - getType(Adaptable) - Method in class org.eclipse.ditto.protocoladapter.AbstractAdapter
-
Determine the type from
Adaptable
(default implementation, subclasses may overwrite this method). - getType(Adaptable) - Method in class org.eclipse.ditto.protocoladapter.things.ThingSearchCommandAdapter
- getTypeCriterionAsString(TopicPath) - Method in class org.eclipse.ditto.protocoladapter.AbstractAdapter
-
Extracts the criterion from the given topic path.
- getValue() - Method in interface org.eclipse.ditto.protocoladapter.Payload
-
Returns the
value
of thisPayload
if present.
H
- hasNext() - Method in interface org.eclipse.ditto.protocoladapter.SearchTopicPathBuilder
-
Sets the
Action
of this builder toTopicPath.SearchAction.NEXT
. - HEADERS - Static variable in class org.eclipse.ditto.protocoladapter.JsonifiableAdaptable.JsonFields
-
JSON field containing the headers.
- headerTranslator() - Method in class org.eclipse.ditto.protocoladapter.AbstractAdapter
- headerTranslator() - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
- headerTranslator() - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Retrieve the header translator responsible for this protocol adapter.
- HeaderTranslator - Class in org.eclipse.ditto.protocoladapter
-
Utility for translating Headers from external sources or to external sources.
I
- ID_PLACEHOLDER - Static variable in interface org.eclipse.ditto.protocoladapter.TopicPath
- isForResponses() - Method in interface org.eclipse.ditto.protocoladapter.Adapter
-
Retrieve whether this adapter is for responses.
- isForResponses() - Method in interface org.eclipse.ditto.protocoladapter.ErrorResponseAdapter
- isForResponses() - Method in interface org.eclipse.ditto.protocoladapter.EventAdapter
- isForResponses() - Method in interface org.eclipse.ditto.protocoladapter.ModifyCommandAdapter
- isForResponses() - Method in interface org.eclipse.ditto.protocoladapter.ModifyCommandResponseAdapter
- isForResponses() - Method in interface org.eclipse.ditto.protocoladapter.QueryCommandAdapter
- isForResponses() - Method in interface org.eclipse.ditto.protocoladapter.QueryCommandResponseAdapter
- isForResponses() - Method in class org.eclipse.ditto.protocoladapter.things.ThingSearchCommandAdapter
- isLiveSignal(Signal<?>) - Static method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Test whether a signal belongs to the live channel.
- isWildcardTopic() - Method in interface org.eclipse.ditto.protocoladapter.TopicPath
J
- JsonifiableAdaptable - Interface in org.eclipse.ditto.protocoladapter
-
Adaptable
which is alsoJsonifiable
(e.g. - JsonifiableAdaptable.JsonFields - Class in org.eclipse.ditto.protocoladapter
-
Json Fields of the Jsonifiable PlainJsonAdaptable.
- jsonifiableAdaptableFromJson(JsonObject) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Converts the passed in
adaptableAsJson
to aJsonifiableAdaptable
. - JsonifiableMapper<T extends org.eclipse.ditto.model.base.json.Jsonifiable> - Interface in org.eclipse.ditto.protocoladapter
-
Functional interface for mapping an
Adaptable
toJsonifiableMapper
.
L
- label(CharSequence) - Method in interface org.eclipse.ditto.protocoladapter.AcknowledgementTopicPathBuilder
-
Sets a custom Acknowledgement label on the topic path.
- live() - Method in interface org.eclipse.ditto.protocoladapter.TopicPathBuilder
-
Sets the
Channel
of this builder toTopicPath.Channel.LIVE
. - LIVE - org.eclipse.ditto.protocoladapter.TopicPath.Channel
M
- map(Adaptable) - Method in interface org.eclipse.ditto.protocoladapter.JsonifiableMapper
-
Maps the given
adaptable
to the specifiedT
. - MappingStrategies<T extends org.eclipse.ditto.model.base.json.Jsonifiable.WithPredicate<org.eclipse.ditto.json.JsonObject,org.eclipse.ditto.json.JsonField>> - Interface in org.eclipse.ditto.protocoladapter.adaptables
-
Container for strategies that map from
Adaptable
s toSignal
s. - MappingStrategiesFactory - Class in org.eclipse.ditto.protocoladapter.adaptables
-
Factory class to get instances of all
MappingStrategies
. - MappingStrategiesFactory() - Constructor for class org.eclipse.ditto.protocoladapter.adaptables.MappingStrategiesFactory
- mapSignalToAdaptable(ThingSearchCommand<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.things.ThingSearchCommandAdapter
- mapSignalToAdaptable(T, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.AbstractAdapter
-
Subclasses must implement the method to map from the given
Signal
to anAdaptable
. - mapSignalToAdaptable(T, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.signals.SignalMapper
-
Is called during the mapping from a signal to an
Adaptable
. - match(JsonPointer) - Method in class org.eclipse.ditto.protocoladapter.DefaultPayloadPathMatcher
-
Matches a given
path
against known schemes and returns the corresponding entity name. - match(JsonPointer) - Method in interface org.eclipse.ditto.protocoladapter.PayloadPathMatcher
-
Tries to match the given payload path against a set of patterns and returns the associated command name.
- MessagePath - Interface in org.eclipse.ditto.protocoladapter
-
Represent the
path
field of Ditto protocol messages. - messages() - Method in interface org.eclipse.ditto.protocoladapter.TopicPathBuilder
-
Sets the
Criterion
of this builder toTopicPath.Criterion.MESSAGES
. - MESSAGES - org.eclipse.ditto.protocoladapter.TopicPath.Criterion
- MessagesTopicPathBuilder - Interface in org.eclipse.ditto.protocoladapter
-
Builder to create a topic path for messages.
- modified() - Method in interface org.eclipse.ditto.protocoladapter.EventsTopicPathBuilder
-
Sets the
Action
of this builder toTopicPath.Action.MODIFIED
. - MODIFIED - org.eclipse.ditto.protocoladapter.TopicPath.Action
- modify() - Method in interface org.eclipse.ditto.protocoladapter.CommandsTopicPathBuilder
-
Sets the
Action
of this builder toTopicPath.Action.MODIFY
. - MODIFY - org.eclipse.ditto.protocoladapter.TopicPath.Action
- ModifyCommandAdapter<T extends org.eclipse.ditto.signals.commands.base.Command<?>> - Interface in org.eclipse.ditto.protocoladapter
-
An
Adapter
mixin for modify commands. - ModifyCommandResponseAdapter<T extends org.eclipse.ditto.signals.commands.base.CommandResponse<?>> - Interface in org.eclipse.ditto.protocoladapter
-
An
Adapter
mixin for modify command responses.
N
- newAdaptableBuilder(Adaptable) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new
AdaptableBuilder
for the existingexistingAdaptable
. - newAdaptableBuilder(Adaptable, TopicPath) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Deprecated.since 1.1.0, please use
ProtocolFactory.newAdaptableBuilder(Adaptable)
instead. - newAdaptableBuilder(TopicPath) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new
AdaptableBuilder
for the specifiedtopicPath
. - newBuilder() - Static method in interface org.eclipse.ditto.protocoladapter.Payload
-
Returns a mutable builder to create immutable
Payload
without apath
. - newBuilder(String) - Static method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
Deprecated.Thing ID is now typed. Use
TopicPath.newBuilder(org.eclipse.ditto.model.things.ThingId)
instead. - 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(String) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownSignalException
-
A mutable builder for a
UnknownSignalException
. - newBuilder(String) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownTopicPathException
-
A mutable builder for a
UnknownTopicPathException
. - newBuilder(JsonPointer) - Static method in interface org.eclipse.ditto.protocoladapter.Payload
-
Returns a mutable builder to create immutable
Payload
instances for a givenpath
. - newBuilder(JsonPointer) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownPathException
-
A mutable builder for a
UnknownPathException
. - newBuilder(PolicyId) - Static method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
Returns a mutable builder to create immutable
TopicPath
instances for a givenpolicyId
. - newBuilder(ThingId) - Static method in interface org.eclipse.ditto.protocoladapter.TopicPath
-
Returns a mutable builder to create immutable
TopicPath
instances for a giventhingId
. - newBuilder(Payload) - Static method in interface org.eclipse.ditto.protocoladapter.Payload
-
Returns a mutable builder with a fluent API for creating a Payload.
- newBuilder(TopicPath) - Static method in interface org.eclipse.ditto.protocoladapter.Adaptable
-
Returns a mutable builder to create immutable
Adaptable
instances for a giventopicPath
. - newBuilder(TopicPath) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownTopicPathException
-
A mutable builder for a
UnknownTopicPathException
. - newBuilder(TopicPath.Channel, String) - Static method in exception org.eclipse.ditto.protocoladapter.UnknownChannelException
-
A mutable builder for a
UnknownChannelException
. - newHeaders(Collection<Map.Entry<String, String>>) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns new
Headers
for the specifiedheaders
map. - newHeaders(JsonObject) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns new
Headers
for the specifiedheadersAsJson
. - newHeadersWithDittoContentType(Map<String, String>) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns new
Headers
for the specifiedheaders
map. - newInstance() - Static method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
Creates a new
DittoProtocolAdapter
instance. - newMessageCommandResponseSignalMapper() - Static method in class org.eclipse.ditto.protocoladapter.signals.SignalMapperFactory
- newMessageCommandSignalMapper() - Static method in class org.eclipse.ditto.protocoladapter.signals.SignalMapperFactory
- newPayload(String) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new
Payload
from the specifiedjsonString
. - newPayload(JsonObject) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new
Payload
from the specifiedjsonObject
. - 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 specifiedpath
. - newPolicyModifyResponseSignalMapper() - Static method in class org.eclipse.ditto.protocoladapter.signals.SignalMapperFactory
- newPolicyModifySignalMapper() - Static method in class org.eclipse.ditto.protocoladapter.signals.SignalMapperFactory
- newPolicyQueryResponseSignalMapper() - Static method in class org.eclipse.ditto.protocoladapter.signals.SignalMapperFactory
- newPolicyQuerySignalMapper() - Static method in class org.eclipse.ditto.protocoladapter.signals.SignalMapperFactory
- newRetrieveThingsResponseSignalMapper() - Static method in class org.eclipse.ditto.protocoladapter.signals.SignalMapperFactory
- newRetrieveThingsSignalMapper() - Static method in class org.eclipse.ditto.protocoladapter.signals.SignalMapperFactory
- newThingModifyResponseSignalMapper() - Static method in class org.eclipse.ditto.protocoladapter.signals.SignalMapperFactory
- newThingModifySignalMapper() - Static method in class org.eclipse.ditto.protocoladapter.signals.SignalMapperFactory
- newThingQueryResponseSignalMapper() - Static method in class org.eclipse.ditto.protocoladapter.signals.SignalMapperFactory
- newThingQuerySignalMapper() - Static method in class org.eclipse.ditto.protocoladapter.signals.SignalMapperFactory
- newThingSearchSignalMapper() - Static method in class org.eclipse.ditto.protocoladapter.signals.SignalMapperFactory
- newTopicPath(String) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new
TopicPath
for the specifiedpath
. - newTopicPathBuilder(String) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Deprecated.Thing ID is now typed. Use
ProtocolFactory.newTopicPathBuilder(org.eclipse.ditto.model.things.ThingId)
instead. - newTopicPathBuilder(NamespacedEntityId) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new
TopicPathBuilder
for the specifiedentityId
. - newTopicPathBuilder(PolicyId) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new
TopicPathBuilder
for the specifiedpolicyId
. - newTopicPathBuilder(ThingId) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new
TopicPathBuilder
for the specifiedthingId
. - newTopicPathBuilderFromNamespace(String) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new
TopicPathBuilder
. - NEXT - org.eclipse.ditto.protocoladapter.TopicPath.SearchAction
- none() - Method in interface org.eclipse.ditto.protocoladapter.TopicPathBuilder
-
Sets the
Channel
of this builder toTopicPath.Channel.NONE
. - NONE - org.eclipse.ditto.protocoladapter.TopicPath.Channel
O
- of(HeaderDefinition[]...) - Static method in class org.eclipse.ditto.protocoladapter.HeaderTranslator
-
Construct a Ditto header translator from arrays of header definitions.
- of(HeaderTranslator) - Static method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
-
Creates a new
DittoProtocolAdapter
instance with the given header translator. - of(HeaderTranslator) - Static method in class org.eclipse.ditto.protocoladapter.things.ThingSearchCommandAdapter
-
Returns a new ThingSearchCommandAdapter.
- org.eclipse.ditto.protocoladapter - package org.eclipse.ditto.protocoladapter
-
The Ditto Protocol Adapter provides a wrapper for the Ditto internal protocol.
- org.eclipse.ditto.protocoladapter.acknowledgements - package org.eclipse.ditto.protocoladapter.acknowledgements
- org.eclipse.ditto.protocoladapter.adaptables - package org.eclipse.ditto.protocoladapter.adaptables
-
This package provides interfaces and classes to convert from
Adaptable
s toSignal
s. - org.eclipse.ditto.protocoladapter.policies - package org.eclipse.ditto.protocoladapter.policies
- org.eclipse.ditto.protocoladapter.provider - package org.eclipse.ditto.protocoladapter.provider
- org.eclipse.ditto.protocoladapter.signals - package org.eclipse.ditto.protocoladapter.signals
-
This package provides interfaces and classes to convert from
Signal
s toAdaptable
s. - org.eclipse.ditto.protocoladapter.things - package org.eclipse.ditto.protocoladapter.things
P
- parseWithErrorRegistry(JsonObject, DittoHeaders, ErrorRegistry<?>) - Static method in class org.eclipse.ditto.protocoladapter.AbstractErrorResponseAdapter
-
Parse an error JSON using an error registry, or construct a generic
DittoRuntimeException
if the error code is not in the registry. - PATH - Static variable in class org.eclipse.ditto.protocoladapter.Payload.JsonFields
-
JSON field containing the path.
- PATH_DELIMITER - Static variable in interface org.eclipse.ditto.protocoladapter.TopicPath
- Payload - Interface in org.eclipse.ditto.protocoladapter
-
Represents the
Payload
of anAdaptable
. - Payload.JsonFields - Class in org.eclipse.ditto.protocoladapter
-
Json Fields of the Jsonifiable Payload.
- PayloadBuilder - Interface in org.eclipse.ditto.protocoladapter
-
A builder to create
Payload
instances. - payloadPathMatcher - Variable in class org.eclipse.ditto.protocoladapter.AbstractAdapter
- PayloadPathMatcher - Interface in org.eclipse.ditto.protocoladapter
-
Matches and maps the path to an internal command name.
- policies() - Method in interface org.eclipse.ditto.protocoladapter.TopicPathBuilder
-
Sets the
Group
of this builder toTopicPath.Group.POLICIES
. - POLICIES - org.eclipse.ditto.protocoladapter.TopicPath.Group
- PolicyCommandAdapterProvider - Interface in org.eclipse.ditto.protocoladapter.provider
-
Provider for all policy command adapters.
- ProtocolAdapter - Interface in org.eclipse.ditto.protocoladapter
-
A protocol adapter provides methods for mapping
Signal
instances to anAdaptable
. - ProtocolFactory - Class in org.eclipse.ditto.protocoladapter
-
Factory for the Protocol Adapter library.
Q
- QueryCommandAdapter<T extends org.eclipse.ditto.signals.commands.base.Command<?>> - Interface in org.eclipse.ditto.protocoladapter
-
An
Adapter
mixin for query commands. - QueryCommandResponseAdapter<T extends org.eclipse.ditto.signals.commands.base.CommandResponse<?>> - Interface in org.eclipse.ditto.protocoladapter
-
An
Adapter
mixin for retrieve command responses.
R
- request() - Method in interface org.eclipse.ditto.protocoladapter.SearchTopicPathBuilder
-
Sets the
Action
of this builder toTopicPath.SearchAction.REQUEST
. - REQUEST - org.eclipse.ditto.protocoladapter.TopicPath.SearchAction
- requiresSubject() - Method in interface org.eclipse.ditto.protocoladapter.Adapter
-
Retrieve whether this adapter requires a subject in the topic.
- RESPONSES_CRITERION - Static variable in class org.eclipse.ditto.protocoladapter.AbstractAdapter
-
Fixed criterion part of the adaptable type used in response signals.
- retainKnownHeaders(Map<String, String>) - Method in class org.eclipse.ditto.protocoladapter.HeaderTranslator
-
Retain only header fields which are known to this HeaderTranslator instance based on the configured
headerDefinitions
. - retrieve() - Method in interface org.eclipse.ditto.protocoladapter.CommandsTopicPathBuilder
-
Sets the
Action
of this builder toTopicPath.Action.RETRIEVE
. - RETRIEVE - org.eclipse.ditto.protocoladapter.TopicPath.Action
- REVISION - Static variable in class org.eclipse.ditto.protocoladapter.Payload.JsonFields
-
JSON field containing the revision.
S
- search() - Method in interface org.eclipse.ditto.protocoladapter.TopicPathBuilder
-
Sets the
Group
of this builder toTopicPath.Criterion.SEARCH
. - SEARCH - org.eclipse.ditto.protocoladapter.TopicPath.Criterion
- SearchTopicPathBuilder - Interface in org.eclipse.ditto.protocoladapter
-
Builder to create a topic path for commands.
- setDittoHeaders(DittoHeaders) - Method in interface org.eclipse.ditto.protocoladapter.JsonifiableAdaptable
- setExtra(Adaptable, JsonObject) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Returns a new
Adaptable
with theextra
field set in the payload. - SignalMapper<T extends org.eclipse.ditto.signals.base.WithId> - Interface in org.eclipse.ditto.protocoladapter.signals
-
Implementations of this interface handle different type of signals (e.g.
- SignalMapperFactory - Class in org.eclipse.ditto.protocoladapter.signals
-
Factory class that instantiates all available
SignalMapper
s. - SignalMapperFactory() - Constructor for class org.eclipse.ditto.protocoladapter.signals.SignalMapperFactory
- STATUS - Static variable in class org.eclipse.ditto.protocoladapter.Payload.JsonFields
-
JSON field containing the status.
- subject(String) - Method in interface org.eclipse.ditto.protocoladapter.MessagesTopicPathBuilder
-
Sets a custom subject on the topic path.
- subscribe() - Method in interface org.eclipse.ditto.protocoladapter.SearchTopicPathBuilder
-
Sets the
Action
of this builder toTopicPath.SearchAction.SUBSCRIBE
. - SUBSCRIBE - org.eclipse.ditto.protocoladapter.TopicPath.SearchAction
T
- ThingCommandAdapterProvider - Interface in org.eclipse.ditto.protocoladapter.provider
-
Provider for all thing command adapters.
- things() - Method in interface org.eclipse.ditto.protocoladapter.TopicPathBuilder
-
Sets the
Group
of this builder toTopicPath.Group.THINGS
. - THINGS - org.eclipse.ditto.protocoladapter.TopicPath.Group
- ThingSearchCommandAdapter - Class in org.eclipse.ditto.protocoladapter.things
-
Adapter for mapping a
ThingSearchCommand
to and from anAdaptable
. - TIMESTAMP - Static variable in class org.eclipse.ditto.protocoladapter.Payload.JsonFields
-
JSON field containing the revision.
- toAdaptable(Signal<?>) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
- toAdaptable(Signal<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given
Signal
to anAdaptable
. - toAdaptable(Signal<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
- toAdaptable(Signal<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Maps the given
Signal
to anAdaptable
. - toAdaptable(Command<?>) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
- toAdaptable(Command<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal)
instead. - toAdaptable(Command<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
- toAdaptable(Command<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal, TopicPath.Channel)
instead. - toAdaptable(CommandResponse<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal)
instead. - toAdaptable(CommandResponse<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
- toAdaptable(CommandResponse<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal, TopicPath.Channel)
instead. - toAdaptable(MessageCommand<?, ?>) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
- toAdaptable(MessageCommand<?, ?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal)
instead. - toAdaptable(MessageCommandResponse<?, ?>) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
- toAdaptable(MessageCommandResponse<?, ?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal)
instead. - toAdaptable(ThingModifyCommand<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal)
instead. - toAdaptable(ThingModifyCommand<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
- toAdaptable(ThingModifyCommand<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal, TopicPath.Channel)
instead. - toAdaptable(ThingModifyCommandResponse<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal)
instead. - toAdaptable(ThingModifyCommandResponse<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
- toAdaptable(ThingModifyCommandResponse<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal, TopicPath.Channel)
instead. - toAdaptable(ThingQueryCommand<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal)
instead. - toAdaptable(ThingQueryCommand<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
- toAdaptable(ThingQueryCommand<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal, TopicPath.Channel)
instead. - toAdaptable(ThingQueryCommandResponse<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal)
instead. - toAdaptable(ThingQueryCommandResponse<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
- toAdaptable(ThingQueryCommandResponse<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal, TopicPath.Channel)
instead. - toAdaptable(ThingCommandResponse<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal)
instead. - toAdaptable(ThingCommandResponse<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
- toAdaptable(ThingCommandResponse<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal, TopicPath.Channel)
instead. - toAdaptable(ThingErrorResponse, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
- toAdaptable(ThingErrorResponse, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal, TopicPath.Channel)
instead. - toAdaptable(ThingSearchCommand<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
- toAdaptable(Event<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal)
instead. - toAdaptable(Event<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
- toAdaptable(Event<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal, TopicPath.Channel)
instead. - toAdaptable(ThingEvent<?>) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal)
instead. - toAdaptable(ThingEvent<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
- toAdaptable(ThingEvent<?>, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.ProtocolAdapter
-
Deprecated.since 1.1.0, use
ProtocolAdapter.toAdaptable(Signal, TopicPath.Channel)
instead. - toAdaptable(SubscriptionEvent<?>, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.DittoProtocolAdapter
- toAdaptable(T) - Method in interface org.eclipse.ditto.protocoladapter.Adapter
- toAdaptable(T, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.AbstractAdapter
- toAdaptable(T, TopicPath.Channel) - Method in class org.eclipse.ditto.protocoladapter.AbstractErrorResponseAdapter
- toAdaptable(T, TopicPath.Channel) - Method in interface org.eclipse.ditto.protocoladapter.Adapter
-
Maps the given
t
to its correspondingAdaptable
. - toExternalAndRetainKnownHeaders(DittoHeaders) - Method in class org.eclipse.ditto.protocoladapter.HeaderTranslator
-
Publish Ditto headers to external headers and filter out Ditto unknown headers.
- 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 specifiedspecificHeaders
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.
- TopicPath.SearchAction - Enum in org.eclipse.ditto.protocoladapter
-
An enumeration of topic path search-actions.
- TopicPathBuildable - Interface in org.eclipse.ditto.protocoladapter
-
Provides a build method to actually build a topic path.
- TopicPathBuilder - Interface in org.eclipse.ditto.protocoladapter
-
A builder to create
TopicPath
instances. - 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
- toString() - Method in enum org.eclipse.ditto.protocoladapter.TopicPath.SearchAction
- twin() - Method in interface org.eclipse.ditto.protocoladapter.TopicPathBuilder
-
Sets the
Channel
of this builder toTopicPath.Channel.TWIN
. - TWIN - org.eclipse.ditto.protocoladapter.TopicPath.Channel
U
- UnknownChannelException - Exception in org.eclipse.ditto.protocoladapter
-
Thrown if a
TopicPath.Channel
is not supported in combination with the providedSignal
. - UnknownChannelException.Builder - Class in org.eclipse.ditto.protocoladapter
-
A mutable builder with a fluent API for a
UnknownChannelException
. - UnknownCommandException - Exception in org.eclipse.ditto.protocoladapter
-
Thrown if a
Command
is not supported. - UnknownCommandException.Builder - Class in org.eclipse.ditto.protocoladapter
-
A mutable builder with a fluent API for a
UnknownCommandException
. - UnknownCommandResponseException - Exception in org.eclipse.ditto.protocoladapter
-
Thrown if a
CommandResponse
is not supported. - UnknownCommandResponseException.Builder - Class in org.eclipse.ditto.protocoladapter
-
A mutable builder with a fluent API for a
UnknownCommandResponseException
. - UnknownEventException - Exception in org.eclipse.ditto.protocoladapter
-
Thrown if a
Event
is not supported. - UnknownEventException.Builder - Class in org.eclipse.ditto.protocoladapter
-
A mutable builder with a fluent API for a
UnknownEventException
. - UnknownPathException - Exception in org.eclipse.ditto.protocoladapter
-
Thrown if a path does not correspond to any known command, response or event.
- UnknownPathException.Builder - Class in org.eclipse.ditto.protocoladapter
-
A mutable builder with a fluent API for a
UnknownPathException
. - UnknownSignalException - Exception in org.eclipse.ditto.protocoladapter
-
Thrown if a
Signal
is not supported. - UnknownSignalException.Builder - Class in org.eclipse.ditto.protocoladapter
-
A mutable builder with a fluent API for a
UnknownSignalException
. - UnknownTopicPathException - Exception in org.eclipse.ditto.protocoladapter
-
Thrown if a
TopicPath
is not supported. - UnknownTopicPathException.Builder - Class in org.eclipse.ditto.protocoladapter
-
A mutable builder with a fluent API for a
UnknownTopicPathException
. - upperCaseFirst(String) - Static method in class org.eclipse.ditto.protocoladapter.AbstractAdapter
-
Returns the given String
s
with an upper case first letter.
V
- VALUE - Static variable in class org.eclipse.ditto.protocoladapter.Payload.JsonFields
-
JSON field containing the value.
- valueOf(String) - Static method in enum org.eclipse.ditto.protocoladapter.TopicPath.Action
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.eclipse.ditto.protocoladapter.TopicPath.Channel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.eclipse.ditto.protocoladapter.TopicPath.Criterion
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.eclipse.ditto.protocoladapter.TopicPath.Group
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.eclipse.ditto.protocoladapter.TopicPath.SearchAction
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.eclipse.ditto.protocoladapter.TopicPath.Action
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.eclipse.ditto.protocoladapter.TopicPath.Channel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.eclipse.ditto.protocoladapter.TopicPath.Criterion
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.eclipse.ditto.protocoladapter.TopicPath.Group
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.eclipse.ditto.protocoladapter.TopicPath.SearchAction
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withExtra(JsonObject) - Method in interface org.eclipse.ditto.protocoladapter.PayloadBuilder
-
Sets the given extra information which enriches the actual value of the payload.
- withFields(String) - Method in interface org.eclipse.ditto.protocoladapter.PayloadBuilder
-
Sets the given
fields
to this builder. - withFields(JsonFieldSelector) - Method in interface org.eclipse.ditto.protocoladapter.PayloadBuilder
-
Sets the given
fields
to this builder. - withHeaders(DittoHeaders) - Method in interface org.eclipse.ditto.protocoladapter.AdaptableBuilder
-
Sets the given
headers
to this builder. - withPayload(Payload) - Method in interface org.eclipse.ditto.protocoladapter.AdaptableBuilder
-
Sets the given
payload
to this builder. - withRevision(long) - Method in interface org.eclipse.ditto.protocoladapter.PayloadBuilder
-
Sets the given
revision
to this builder. - withStatus(int) - Method in interface org.eclipse.ditto.protocoladapter.PayloadBuilder
-
Sets the given
status
to this builder. - withStatus(HttpStatusCode) - Method in interface org.eclipse.ditto.protocoladapter.PayloadBuilder
-
Sets the given
status
to this builder. - withTimestamp(Instant) - Method in interface org.eclipse.ditto.protocoladapter.PayloadBuilder
-
Sets the given
timestamp
to this builder. - withValue(JsonValue) - Method in interface org.eclipse.ditto.protocoladapter.PayloadBuilder
-
Sets the given
value
to this builder. - wrapAsJsonifiableAdaptable(Adaptable) - Static method in class org.eclipse.ditto.protocoladapter.ProtocolFactory
-
Wraps the passed in
adaptable
to aJsonifiableAdaptable
which has a JSON representation.
All Classes All Packages