A B C D E F G H I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractDittoHeaders - Class in org.eclipse.ditto.model.base.headers
-
Abstract immutable implementation of
DittoHeaders
which is heavily based onAbstractMap
. - AbstractDittoHeaders(Map<String, String>) - Constructor for class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
-
Constructs a new
AbstractDittoHeaders
object. - AbstractDittoHeadersBuilder<S extends AbstractDittoHeadersBuilder,R extends DittoHeaders> - Class in org.eclipse.ditto.model.base.headers
-
An abstract base implementation for subclasses of
DittoHeadersBuilder
. - AbstractDittoHeadersBuilder(Map<String, String>, Collection<? extends HeaderDefinition>, Class<?>) - Constructor for class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
-
Constructs a new
AbstractDittoHeadersBuilder
object. - AbstractDittoHeadersBuilder(R, Collection<? extends HeaderDefinition>, Class<?>) - Constructor for class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
-
Constructs a new
AbstractDittoHeadersBuilder
object based on an existingDittoHeaders
instance applying a performance optimization: skipping the validation of values types as we can be sure that they already are valid when being passed in as DittoHeaders. - AbstractHeaderValueValidator - Class in org.eclipse.ditto.model.base.headers
-
Base implementation of
ValueValidator
which provides common functionality for header value validation. - AbstractHeaderValueValidator(Predicate<Class<?>>) - Constructor for class org.eclipse.ditto.model.base.headers.AbstractHeaderValueValidator
-
Constructs a new AbstractHeaderValueValidator object.
- AbstractIdValidator - Class in org.eclipse.ditto.model.base.common
-
Abstract implementation for validation of identifiers.
- AbstractIdValidator(String) - Constructor for class org.eclipse.ditto.model.base.common.AbstractIdValidator
-
Constructs a new
AbstractIdValidator
object. - accept(CharSequence, DittoHeaders) - Method in class org.eclipse.ditto.model.base.common.AbstractIdValidator
-
Validates a given
id
. - accept(HeaderDefinition, CharSequence) - Method in class org.eclipse.ditto.model.base.headers.AbstractHeaderValueValidator
- accept(HeaderDefinition, CharSequence) - Method in class org.eclipse.ditto.model.base.headers.HeaderValueValidator
-
Deprecated.
- accept(HeaderDefinition, CharSequence) - Method in interface org.eclipse.ditto.model.base.headers.ValueValidator
-
Validates the given value if this validator is responsible regarding the given definition.
- ACCEPTED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The request has been accepted for processing, but the processing has not been completed.
- AcknowledgementException - Interface in org.eclipse.ditto.model.base.acks
-
Aggregates all
DittoRuntimeException
s which are related to acknowledgements. - AcknowledgementLabel - Interface in org.eclipse.ditto.model.base.acks
-
Represents the label identifying an Acknowledgement ("ACK").
- AcknowledgementLabelInvalidException - Exception in org.eclipse.ditto.model.base.acks
-
Thrown if an AcknowledgementLabel is not valid, for example because it did not comply to the AcknowledgmentLabel regex.
- AcknowledgementLabelInvalidException(CharSequence) - Constructor for exception org.eclipse.ditto.model.base.acks.AcknowledgementLabelInvalidException
-
Constructs a new
AcknowledgementLabelInvalidException
object. - acknowledgementRequest(AcknowledgementRequest, AcknowledgementRequest...) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- acknowledgementRequest(AcknowledgementRequest, AcknowledgementRequest...) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets the acknowledgements ("ACK") which are requested together with an issued Ditto
Command
. - AcknowledgementRequest - Interface in org.eclipse.ditto.model.base.acks
-
Represents a request for a domain-specific acknowledgement.
- AcknowledgementRequestParseException - Exception in org.eclipse.ditto.model.base.acks
-
This exception is thrown if parsing an AcknowledgementRequest from a string representation failed.
- AcknowledgementRequestParseException(CharSequence, Throwable, DittoHeaders) - Constructor for exception org.eclipse.ditto.model.base.acks.AcknowledgementRequestParseException
-
Constructs a new
AcknowledgementRequestParseException
object. - acknowledgementRequests(Collection<AcknowledgementRequest>) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- acknowledgementRequests(Collection<AcknowledgementRequest>) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets the acknowledgements ("ACK") which are requested together with an issued Ditto
Command
. - addHead(List<AuthorizationSubject>) - Method in interface org.eclipse.ditto.model.base.auth.AuthorizationContext
-
Adds the given authorization subjects at the beginning of the list.
- addTail(List<AuthorizationSubject>) - Method in interface org.eclipse.ditto.model.base.auth.AuthorizationContext
-
Adds the given authorization subjects at the end of the list.
- all() - Static method in enum org.eclipse.ditto.model.base.json.FieldType
-
Returns a Predicate which returns
true
for all fields. - ALLOWED_CHARACTERS_IN_NAME - Static variable in class org.eclipse.ditto.model.base.entity.id.RegexPatterns
-
Defines which characters are allowed to use in a name of an entity.
- ALLOWED_CHARACTERS_IN_NAME_INCLUDING_DOLLAR - Static variable in class org.eclipse.ditto.model.base.entity.id.RegexPatterns
-
Adds the $ to allowed characters.
- ALLOWED_NAMESPACE_CHARACTERS_INCLUDING_DOT - Static variable in class org.eclipse.ditto.model.base.entity.id.RegexPatterns
-
Adds the dot to allowed characters.
- ALLOWED_NAMESPACE_CHARACTERS_REGEX - Static variable in class org.eclipse.ditto.model.base.entity.id.RegexPatterns
-
Defines which characters are allowed to use in a namespace.
- ALREADY_REPORTED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
Used inside a DAV: propstat response element to avoid enumerating the internal members of multiple bindings to the same collection repeatedly.
- andThen(ValueValidator) - Method in class org.eclipse.ditto.model.base.headers.AbstractHeaderValueValidator
- andThen(ValueValidator) - Method in interface org.eclipse.ditto.model.base.headers.ValueValidator
-
Returns a composed validator that first applies this validator to its input, and then applies the given validator.
- appendToJson(JsonObjectBuilder, Predicate<JsonField>) - Method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
-
Allows to append exception-specific fields to the passed
jsonObjectBuilder
. - apply(CharSequence) - Method in class org.eclipse.ditto.model.base.common.CharsetDeterminer
- argumentNotEmpty(T) - Static method in class org.eclipse.ditto.model.base.common.ConditionChecker
-
Ensures that the specified char sequence is not empty, otherwise an
IllegalArgumentException
is thrown. - argumentNotEmpty(T, String) - Static method in class org.eclipse.ditto.model.base.common.ConditionChecker
-
Ensures that the specified char sequence is not empty, otherwise an
IllegalArgumentException
is thrown. - argumentNotNull(T) - Static method in class org.eclipse.ditto.model.base.common.ConditionChecker
-
Ensures that the specified object is not
null
, otherwise anIllegalArgumentException
is thrown. - argumentNotNull(T, String) - Static method in class org.eclipse.ditto.model.base.common.ConditionChecker
-
Ensures that the specified object is not
null
, otherwise anIllegalArgumentException
is thrown. - asDittoRuntimeException(Throwable, Function<Throwable, DittoRuntimeException>) - Static method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
-
Takes the throwable and tries to map it to a DittoRuntimeException.
- asterisk() - Static method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatcher
- AUTH_SUBJECTS - Static variable in class org.eclipse.ditto.model.base.auth.AuthorizationContext.JsonFields
-
JSON field containing the authorized subjects as JSON array.
- AUTHORIZATION_CONTEXT - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for the authorization context value.
- authorizationContext(AuthorizationContext) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- authorizationContext(AuthorizationContext) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets the authorization context value.
- AuthorizationContext - Interface in org.eclipse.ditto.model.base.auth
-
Holder for all authorization subjects to check authorization to perform commands requiring authorization.
- AuthorizationContext.JsonFields - Class in org.eclipse.ditto.model.base.auth
-
The known
JsonField
s of anAuthorizationContext
. - AuthorizationContextType - Class in org.eclipse.ditto.model.base.auth
-
Abstract class for type information of
AuthorizationContext
instances used for defining what "kind" of authorization an authorization context represents. - AuthorizationContextType(String) - Constructor for class org.eclipse.ditto.model.base.auth.AuthorizationContextType
-
Abstract constructor for creating the type based on the passed
type
String. - AuthorizationModelFactory - Class in org.eclipse.ditto.model.base.auth
-
Factory that creates new
authorization
objects. - AuthorizationSubject - Interface in org.eclipse.ditto.model.base.auth
-
An
AuthorizationSubject
represents an entity which is subject of authorization at Ditto. - authorizationSubjects(CharSequence, CharSequence...) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
-
Deprecated.
- authorizationSubjects(CharSequence, CharSequence...) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Deprecated.as of 1.1.0, please use
DittoHeadersBuilder.authorizationContext(AuthorizationContext)
instead for adding theauthorizationSubjects
- authorizationSubjects(Collection<String>) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
-
Deprecated.
- authorizationSubjects(Collection<String>) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Deprecated.as of 1.1.0, please use
DittoHeadersBuilder.authorizationContext(AuthorizationContext)
instead for adding theauthorizationSubjects
B
- BAD_GATEWAY - org.eclipse.ditto.model.base.common.HttpStatusCode
-
Deprecated.Do not use in Ditto for exceptions as Ditto reserves 502 as code when gracefully shutting down HTTP
- BAD_REQUEST - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
- BinaryValidationResult - Class in org.eclipse.ditto.model.base.common
-
Holds the result of a validation with binary outcome.
- build() - Method in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeExceptionBuilder
-
Builds an instance of the target exception type using the provided data.
- build() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- build() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Creates a DittoHeaders object containing the key-value-pairs which were put to this builder.
- ByteBufferUtils - Class in org.eclipse.ditto.model.base.common
-
Utilities around
ByteBuffer
.
C
- canValidate(Class<?>) - Method in class org.eclipse.ditto.model.base.headers.AbstractHeaderValueValidator
- canValidate(Class<?>) - Method in interface org.eclipse.ditto.model.base.headers.ValueValidator
-
Indicates whether this validator can validate values of the given type.
- cause(Throwable) - Method in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeExceptionBuilder
-
Sets the cause which led to the exception to be built.
- cause(Supplier<Throwable>) - Method in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeExceptionBuilder
-
Sets the cause which led to the exception to be built.
- channel(CharSequence) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- channel(CharSequence) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets the specified String as channel of the Signal/Exception.
- CHANNEL - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for channel value meaning distinguishing between live/twin.
- charAt(int) - Method in class org.eclipse.ditto.model.base.acks.DittoAcknowledgementLabel
- charAt(int) - Method in class org.eclipse.ditto.model.base.auth.AuthorizationContextType
- charAt(int) - Method in interface org.eclipse.ditto.model.base.entity.id.EntityId
- CharsetDeterminer - Class in org.eclipse.ditto.model.base.common
-
Determines the charset from a given content-type or falls back to UTF-8 if no specific one was present in content-type.
- check(DittoHeaders) - Method in class org.eclipse.ditto.model.base.headers.DittoHeadersSizeChecker
-
Checks if the specified Ditto headers are too large.
- checkArgument(T, Predicate<T>) - Static method in class org.eclipse.ditto.model.base.common.ConditionChecker
-
Tests the specified Predicate with the specified argument.
- checkArgument(T, Predicate<T>, Supplier<String>) - Static method in class org.eclipse.ditto.model.base.common.ConditionChecker
-
Tests the specified Predicate with the specified argument.
- checkNotEmpty(T, String) - Static method in class org.eclipse.ditto.model.base.common.ConditionChecker
-
Checks that the specified
CharSequence
is not empty and throws a customizedIllegalArgumentException
if it is. - checkNotNull(T) - Static method in class org.eclipse.ditto.model.base.common.ConditionChecker
-
Checks that the specified object reference is not
null
and throws aNullPointerException
if it is. - checkNotNull(T, String) - Static method in class org.eclipse.ditto.model.base.common.ConditionChecker
-
Checks that the specified object reference is not
null
and throws a customizedNullPointerException
if it is. - clear() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- clone(ByteBuffer) - Static method in class org.eclipse.ditto.model.base.common.ByteBufferUtils
-
Deeply clones the passed in ByteBuffer.
- compareTo(AcknowledgementLabel) - Method in interface org.eclipse.ditto.model.base.acks.AcknowledgementLabel
- compareTo(AuthorizationContextType) - Method in class org.eclipse.ditto.model.base.auth.AuthorizationContextType
- compareTo(EntityId) - Method in interface org.eclipse.ditto.model.base.entity.id.EntityId
-
Compares the entity IDs based on their String representation.
- ConditionChecker - Class in org.eclipse.ditto.model.base.common
-
Utility class for common pre- or post condition checks.
- CONFLICT - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The request could not be completed due to a conflict with the current state of the target resource.
- contains(AcknowledgementLabel) - Static method in class org.eclipse.ditto.model.base.acks.DittoAcknowledgementLabel
-
Indicates whether the given acknowledgement label is a Ditto acknowledgement label.
- contains(AuthorizationContextType) - Static method in class org.eclipse.ditto.model.base.auth.DittoAuthorizationContextType
-
Indicates whether the given authorization context type is a Ditto defined one.
- containsAnyPlaceholder(CharSequence) - Static method in class org.eclipse.ditto.model.base.common.Placeholders
-
Checks whether the given
input
contains any placeholder. - CONTENT_TYPE - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for a signal's content-type.
- contentType(CharSequence) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- contentType(CharSequence) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets the contentType value.
- CONTINUE - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The initial part of a request has been received and has not yet been rejected by the server.
- CORRELATION_ID - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for correlation Id value.
- correlationId(CharSequence) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- correlationId(CharSequence) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets the specified correlation ID.
- CREATED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The request has been fulfilled and has resulted in one or more new resources being created.
- createEqualityValidator(I) - Static method in class org.eclipse.ditto.model.base.entity.id.EntityIdWithType
-
Deprecated.as of 1.2.0 please use
EntityIdWithType.isCompatibleOrThrow(EntityIdWithType)
instead. - createExceptionBuilder(CharSequence) - Method in class org.eclipse.ditto.model.base.common.AbstractIdValidator
D
- DefaultEntityId - Class in org.eclipse.ditto.model.base.entity.id
-
Default implementation of an entity ID.
- DefaultNamespacedEntityId - Class in org.eclipse.ditto.model.base.entity.id
-
Default implementation for a validated
NamespacedEntityId
- description(String) - Method in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeExceptionBuilder
-
Sets a description with further information about the exception to be built.
- description(Supplier<String>) - Method in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeExceptionBuilder
-
Sets a description with further information about the exception to be built.
- DESCRIPTION - Static variable in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeException.JsonFields
-
JSON field containing the description of the message.
- DITTO_PROTOCOL_CONTENT_TYPE - Static variable in class org.eclipse.ditto.model.base.common.DittoConstants
-
Defines the Ditto Protocol Content-Type.
- DittoAcknowledgementLabel - Class in org.eclipse.ditto.model.base.acks
-
Defines built-in
AcknowledgementLabel
s which are emitted by Ditto itself. - DittoAuthorizationContextType - Class in org.eclipse.ditto.model.base.auth
-
Defines built-in
AuthorizationContextType
s which are defined by Ditto. - DittoConstants - Class in org.eclipse.ditto.model.base.common
-
Global constants for Ditto.
- DittoHeaderDefinition - Enum in org.eclipse.ditto.model.base.headers
-
Enumeration of definitions of well known Ditto Headers including their key and Java type.
- DittoHeaderInvalidException - Exception in org.eclipse.ditto.model.base.exceptions
-
Thrown when an (external) header value can not be converted to a Ditto header.
- DittoHeaderInvalidException.Builder - Class in org.eclipse.ditto.model.base.exceptions
-
A mutable builder with a fluent API for a
DittoHeaderInvalidException
. - dittoHeaders(DittoHeaders) - Method in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeExceptionBuilder
-
Sets the command headers with which the the exception to be built should be reported to the user.
- DittoHeaders - Interface in org.eclipse.ditto.model.base.headers
-
Headers for commands and their responses which provide additional information needed for correlation and transfer.
- DittoHeadersBuilder<B extends DittoHeadersBuilder,R extends DittoHeaders> - Interface in org.eclipse.ditto.model.base.headers
-
This interface represents a mutable builder with a fluent API for a
DittoHeaders
object or an object of a descendant type. - DittoHeadersSizeChecker - Class in org.eclipse.ditto.model.base.headers
-
Checks whether Ditto headers are small enough to send around the cluster.
- DittoHeadersTooLargeException - Exception in org.eclipse.ditto.model.base.exceptions
-
Thrown when Ditto headers are too large to communicate within the cluster.
- DittoJsonException - Exception in org.eclipse.ditto.model.base.exceptions
-
Exception to adapt
JsonRuntimeException
s toDittoRuntimeException
by addingDittoHeaders
and the HTTP status code400
. - DittoJsonException(RuntimeException) - Constructor for exception org.eclipse.ditto.model.base.exceptions.DittoJsonException
-
Constructs a new
DittoJsonException
by wrapping the specifiedJsonRuntimeException
orRuntimeException
and adding empty command headers. - DittoJsonException(RuntimeException, DittoHeaders) - Constructor for exception org.eclipse.ditto.model.base.exceptions.DittoJsonException
-
Constructs a new
DittoJsonException
by wrapping the specifiedJsonRuntimeException
orRuntimeException
and adding the given command headers. - DittoRuntimeException - Exception in org.eclipse.ditto.model.base.exceptions
-
Parent RuntimeException for all RuntimeExceptions of Ditto.
- DittoRuntimeException(String, HttpStatusCode, DittoHeaders, String, String, Throwable, URI) - Constructor for exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
-
Constructs a new
DittoRuntimeException
object. - DittoRuntimeException.Builder - Class in org.eclipse.ditto.model.base.exceptions
-
A mutable builder with a fluent API for a
DittoRuntimeException
. - DittoRuntimeException.JsonFields - Class in org.eclipse.ditto.model.base.exceptions
-
An enumeration of the known
JsonField
s of aDittoRuntimeException
. - DittoRuntimeExceptionBuilder<T extends DittoRuntimeException> - Class in org.eclipse.ditto.model.base.exceptions
-
Abstract base implementation of a mutable builder with a fluent API for a
DittoRuntimeException
. - DittoRuntimeExceptionBuilder() - Constructor for class org.eclipse.ditto.model.base.exceptions.DittoRuntimeExceptionBuilder
-
Constructs a new
DittoRuntimeExceptionBuilder
object. - doBuild(DittoHeaders) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- doBuild(DittoHeaders, String, String, Throwable, URI) - Method in class org.eclipse.ditto.model.base.entity.id.NamespacedEntityIdInvalidException.Builder
- doBuild(DittoHeaders, String, String, Throwable, URI) - Method in class org.eclipse.ditto.model.base.exceptions.DittoHeaderInvalidException.Builder
- doBuild(DittoHeaders, String, String, Throwable, URI) - Method in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeException.Builder
- doBuild(DittoHeaders, String, String, Throwable, URI) - Method in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeExceptionBuilder
-
This method must be implemented by subclasses.
- doBuild(DittoHeaders, String, String, Throwable, URI) - Method in class org.eclipse.ditto.model.base.exceptions.InvalidRqlExpressionException.Builder
- doBuild(DittoHeaders, String, String, Throwable, URI) - Method in class org.eclipse.ditto.model.base.exceptions.SignalEnrichmentFailedException.Builder
- doBuild(DittoHeaders, String, String, Throwable, URI) - Method in class org.eclipse.ditto.model.base.exceptions.TooManyRequestsException.Builder
- doBuild(DittoHeaders, String, String, Throwable, URI) - Method in class org.eclipse.ditto.model.base.exceptions.UnsupportedMediaTypeException.Builder
- DRY_RUN - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for dry run value.
- dryRun(boolean) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- dryRun(boolean) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets the dryRun value.
- dueTo(DittoRuntimeException) - Method in class org.eclipse.ditto.model.base.exceptions.SignalEnrichmentFailedException.Builder
-
Set the cause of the SignalEnrichmentFailedException.
- dueTo(DittoRuntimeException) - Static method in exception org.eclipse.ditto.model.base.exceptions.SignalEnrichmentFailedException
-
Construct a SignalEnrichmentFailedException due to a DittoRuntimeException retaining the latter's headers.
- dummy() - Static method in class org.eclipse.ditto.model.base.entity.id.DefaultEntityId
-
Returns a dummy
EntityId
. - dummy() - Static method in class org.eclipse.ditto.model.base.entity.id.DefaultNamespacedEntityId
-
Returns a dummy
NamespacedEntityId
.
E
- empty() - Static method in class org.eclipse.ditto.model.base.common.ByteBufferUtils
-
Creates an empty ByteBuffer of size 0.
- empty() - Static method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns an empty
DittoHeaders
object. - emptyAuthContext() - Static method in class org.eclipse.ditto.model.base.auth.AuthorizationModelFactory
-
Returns a new immutable empty
AuthorizationContext
. - Entity<T extends Revision<T>> - Interface in org.eclipse.ditto.model.base.entity
-
Base type for top level entities.
- ENTITY_ID - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for the entity id related to the command/event/response/error.
- ENTITY_NAME_GROUP_NAME - Static variable in class org.eclipse.ditto.model.base.entity.id.RegexPatterns
-
Name of the entity name group in the entity ID regex.
- ENTITY_NAME_PATTERN - Static variable in class org.eclipse.ditto.model.base.entity.id.RegexPatterns
-
The compiled regex pattern for entity names.
- ENTITY_NAME_REGEX - Static variable in class org.eclipse.ditto.model.base.entity.id.RegexPatterns
-
The regex pattern for an Entity Name.
- ENTITY_TAG_MATCHERS_PATTERN - Static variable in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatchers
-
Regular expression pattern for splitting a comma separated CharSequence of
EntityTagMatcher
s. - EntityId - Interface in org.eclipse.ditto.model.base.entity.id
-
Java representation of an Entity ID.
- EntityIdWithType - Class in org.eclipse.ditto.model.base.entity.id
-
Base implementation for entity IDs which are aware of their entity type.
- EntityIdWithType(EntityId) - Constructor for class org.eclipse.ditto.model.base.entity.id.EntityIdWithType
- EntityTag - Class in org.eclipse.ditto.model.base.headers.entitytag
-
Implements an entity-tag according to rfc7232 - Section 2.3
- EntityTagMatcher - Class in org.eclipse.ditto.model.base.headers.entitytag
-
Compares two
entity-tags
if not anEntityTagMatcher.ASTERISK_INSTANCE
. - EntityTagMatchers - Class in org.eclipse.ditto.model.base.headers.entitytag
-
Java representation for a List of
EntityTagMatcher
. - EntityType - Interface in org.eclipse.ditto.model.base.entity.type
-
This class represents the type of an Entity.
- entrySet() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- equals(Object) - Method in class org.eclipse.ditto.model.base.acks.DittoAcknowledgementLabel
- equals(Object) - Method in class org.eclipse.ditto.model.base.auth.AuthorizationContextType
- equals(Object) - Method in class org.eclipse.ditto.model.base.common.BinaryValidationResult
- equals(Object) - Method in class org.eclipse.ditto.model.base.entity.id.DefaultEntityId
- equals(Object) - Method in class org.eclipse.ditto.model.base.entity.id.DefaultNamespacedEntityId
- equals(Object) - Method in class org.eclipse.ditto.model.base.entity.id.EntityIdWithType
- equals(Object) - Method in class org.eclipse.ditto.model.base.entity.id.NamespacedEntityIdWithType
- equals(Object) - Method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
- equals(Object) - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTag
- equals(Object) - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatcher
- equals(Object) - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatchers
- ERROR_CODE - Static variable in exception org.eclipse.ditto.model.base.acks.AcknowledgementLabelInvalidException
-
Error code of this exception.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.model.base.acks.AcknowledgementRequestParseException
-
Error code of this exception.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.model.base.entity.id.NamespacedEntityIdInvalidException
-
Error code of this exception.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.model.base.exceptions.DittoHeaderInvalidException
-
Error code of this exception.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.model.base.exceptions.DittoHeadersTooLargeException
-
Error code of this exception.
- ERROR_CODE - Static variable in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeException.JsonFields
-
JSON field containing the error code of the exception.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.model.base.exceptions.InvalidRqlExpressionException
-
Error code of this exception.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.model.base.exceptions.SignalEnrichmentFailedException
-
Error code of this exception.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.model.base.exceptions.TooManyRequestsException
-
Error code of this exception.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.model.base.exceptions.UnsupportedMediaTypeException
-
Error code of this exception.
- ERROR_CODE_PREFIX - Static variable in interface org.eclipse.ditto.model.base.acks.AcknowledgementException
-
Error code prefix of errors related to acks.
- errorCode() - Method in annotation type org.eclipse.ditto.model.base.json.JsonParsableException
-
Used as identifier of the exception.
- eTag(EntityTag) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- eTag(EntityTag) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets the ETag value.
- ETAG - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for "ETag".
- EXPECTATION_FAILED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The expectation given in the request's Expect header field could not be met by at least one of the inbound servers.
F
- FAILED_DEPENDENCY - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The method could not be performed on the resource because the requested action depended on another action and that action failed.
- FALLBACK_ERROR_CODE - Static variable in exception org.eclipse.ditto.model.base.exceptions.DittoJsonException
-
Fallback Error code of this exception.
- FieldType - Enum in org.eclipse.ditto.model.base.json
-
An enumeration of types of JSON fields.
- FORBIDDEN - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server understood the request but refuses to authorize it.
- forEach(Consumer<? super EntityTagMatcher>) - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatchers
- forInt(int) - Static method in enum org.eclipse.ditto.model.base.common.HttpStatusCode
-
Returns a
HttpStatusCode
which is associated with the specified integer representation. - forInt(int) - Static method in enum org.eclipse.ditto.model.base.json.JsonSchemaVersion
-
Gets the JsonSchemaVersion for the passed integer.
- forKey(CharSequence) - Static method in enum org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Finds an appropriate
DittoHeaderKey
for the specified key. - FOUND - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The target resource resides temporarily under a different URI.
- fromCommaSeparatedString(String) - Static method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatchers
-
Builds
EntityTagMatchers
from a String that contains comma separated values of entity-tag-matchers. - fromEntity(Object) - Static method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTag
-
Builds an
EntityTag
for the givenentity
. - fromJson(JsonObject, DittoHeaders) - Static method in exception org.eclipse.ditto.model.base.acks.AcknowledgementLabelInvalidException
-
Constructs a new
AcknowledgementLabelInvalidException
object with the exception message extracted from the given JSON object. - fromJson(JsonObject, DittoHeaders) - Static method in exception org.eclipse.ditto.model.base.acks.AcknowledgementRequestParseException
-
Constructs a new
AcknowledgementRequestParseException
object with the exception message extracted from the given JSON object. - fromJson(JsonObject, DittoHeaders) - Static method in exception org.eclipse.ditto.model.base.entity.id.NamespacedEntityIdInvalidException
-
Constructs a new
NamespacedEntityIdInvalidException
object with the exception message extracted from the given JSON object. - fromJson(JsonObject, DittoHeaders) - Static method in exception org.eclipse.ditto.model.base.exceptions.DittoHeaderInvalidException
-
Constructs a new
DittoHeaderInvalidException
object with the exception message extracted from the given JSON object. - fromJson(JsonObject, DittoHeaders) - Static method in exception org.eclipse.ditto.model.base.exceptions.DittoHeadersTooLargeException
-
Constructs a new
DittoHeadersTooLargeException
object with the exception message extracted from the given JSON object. - fromJson(JsonObject, DittoHeaders) - Static method in exception org.eclipse.ditto.model.base.exceptions.InvalidRqlExpressionException
-
Constructs a new
InvalidRqlExpressionException
object with the exception message extracted from the given JSON object. - fromJson(JsonObject, DittoHeaders) - Static method in exception org.eclipse.ditto.model.base.exceptions.SignalEnrichmentFailedException
-
Constructs a new
SignalEnrichmentFailedException
object with the exception message extracted from the given JSON object. - fromJson(JsonObject, DittoHeaders) - Static method in exception org.eclipse.ditto.model.base.exceptions.TooManyRequestsException
-
Constructs a new
TooManyRequestsException
object with the exception message extracted from the given JSON object. - fromJson(JsonObject, DittoHeaders) - Static method in exception org.eclipse.ditto.model.base.exceptions.UnsupportedMediaTypeException
-
Constructs a new
UnsupportedMediaTypeException
object with the exception message extracted from the given JSON object. - fromList(List<EntityTagMatcher>) - Static method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatchers
-
Builds
EntityTagMatchers
from a List ofEntityTagMatcher
s. - fromMessage(String, DittoHeaders) - Static method in exception org.eclipse.ditto.model.base.exceptions.InvalidRqlExpressionException
-
Constructs a new
InvalidRqlExpressionException
object with given message. - fromMessage(String, DittoHeaders) - Static method in exception org.eclipse.ditto.model.base.exceptions.TooManyRequestsException
-
Constructs a new
TooManyRequestsException
object with given message. - fromName(String) - Static method in class org.eclipse.ditto.model.base.entity.id.DefaultNamespacedEntityId
-
Creates
NamespacedEntityId
with default namespace placeholder. - fromString(String) - Static method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTag
-
Builds an
EntityTag
from a String value. - fromString(String) - Static method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatcher
-
Builds an
EntityTagMatcher
from a String value. - fromStrings(String...) - Static method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatchers
-
Builds
EntityTagMatchers
from a Strings that contain values of entity-tag-matchers. - fromUnknownErrorJson(JsonObject, DittoHeaders) - Static method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
-
Deserialize an error whose java class isn't known.
G
- GATEWAY_TIMEOUT - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server, while acting as a gateway or proxy, did not receive a timely response from an upstream server it needed to access in order to complete the request.
- generateRandom() - Static method in class org.eclipse.ditto.model.base.entity.id.DefaultEntityId
-
Returns a randomly generated unique entity ID.
- getAcknowledgementRequests() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- getAcknowledgementRequests() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns the acknowledgements ("ACK") which were requested together with an issued Ditto
Command
. - getAuthorizationContext() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- getAuthorizationContext() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns the AuthorizationContext for the command containing this header.
- getAuthorizationSubjectIds() - Method in interface org.eclipse.ditto.model.base.auth.AuthorizationContext
-
This convenience method returns a list containing the IDs of all AuthorizationSubjects of this context.
- getAuthorizationSubjects() - Method in interface org.eclipse.ditto.model.base.auth.AuthorizationContext
-
Returns all authorization subjects of this context.
- getAuthorizationSubjects() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
-
Deprecated.
- getAuthorizationSubjects() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Deprecated.as of 1.1.0, please use
DittoHeaders.getAuthorizationContext()
instead for retrieving theauthorizationSubjects
- getBooleanForDefinition(HeaderDefinition) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
-
Deprecated.as of 1.1.0 please use
AbstractDittoHeaders.isExpectedBoolean(HeaderDefinition, Boolean)
instead. - getBooleanValidator() - Static method in class org.eclipse.ditto.model.base.headers.HeaderValueValidators
-
Returns a validator for checking if a CharSequence is a
boolean
value. - getBuilder() - Method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
-
Construct a builder
b
such thatb.build()
has identical class and fields asthis
. - getChannel() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- getChannel() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns the channel (twin/live) on which a Signal/Exception was sent/occurred.
- getContentType() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- getContentType() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns the content-type of the entity.
- getCorrelationId() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- getCorrelationId() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns the ID that is used to mark messages which belong together between clients.
- getDescription() - Method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
-
Returns the description which should be reported to the user.
- getDittoHeaders() - Method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
- getDittoHeaders() - Method in interface org.eclipse.ditto.model.base.headers.WithDittoHeaders
-
Returns the
DittoHeaders
which are associated with this object. - getEmptyBuilder() - Method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
-
Each subclass should override this method to provide an implementation of
DittoRuntimeExceptionBuilder
. - getEmptyBuilder() - Method in exception org.eclipse.ditto.model.base.exceptions.InvalidRqlExpressionException
- getEmptyBuilder() - Method in exception org.eclipse.ditto.model.base.exceptions.TooManyRequestsException
- getEntityId() - Method in interface org.eclipse.ditto.model.base.entity.Entity
-
Returns the ID of this entity.
- getEntityId() - Method in exception org.eclipse.ditto.model.base.entity.id.NamespacedEntityIdInvalidException
- getEntityType() - Method in interface org.eclipse.ditto.model.base.entity.type.WithEntityType
-
Returns the entity type.
- getErrorCode() - Method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
-
Returns the error code to uniquely identify this exception.
- getETag() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- getETag() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns the eTag of the entity.
- getFirstAuthorizationSubject() - Method in interface org.eclipse.ditto.model.base.auth.AuthorizationContext
-
Returns the first authorization subject of this context.
- getHref() - Method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
-
Returns a link with which the user can find further information regarding this exception.
- getId() - Method in interface org.eclipse.ditto.model.base.auth.AuthorizationSubject
-
Returns the identifier of this authorization subject.
- getId() - Method in interface org.eclipse.ditto.model.base.entity.Entity
-
Deprecated.entity IDs are now typed. Use
Entity.getEntityId()
instead. - getIfMatch() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- getIfMatch() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns the entity-tags contained in the If-Match header.
- getIfNoneMatch() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- getIfNoneMatch() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns the entity-tags contained in the If-None-Match header.
- getIllegalArgumentExceptionForDifferentEntityIds(EntityIdWithType) - Method in class org.eclipse.ditto.model.base.entity.id.EntityIdWithType
- getImplementedSchemaVersion() - Method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
- getImplementedSchemaVersion() - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable
-
Returns the JsonSchemaVersion the instance of this Jsonifiable implements.
- getInboundPayloadMapper() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- getInboundPayloadMapper() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns the inbound
MessageMapper
ID which mapped incoming arbitrary payload from external sources. - getInstance() - Static method in class org.eclipse.ditto.model.base.common.CharsetDeterminer
-
Returns an instance of
CharsetDeterminer
. - getInstance() - Static method in class org.eclipse.ditto.model.base.headers.HeaderValueValidator
-
Deprecated.Returns an instance of
HeaderValueValidator
. - getIntValidator() - Static method in class org.eclipse.ditto.model.base.headers.HeaderValueValidators
-
Returns a validator for checking if a CharSequence is an integer value.
- getJavaType() - Method in enum org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
- getJavaType() - Method in interface org.eclipse.ditto.model.base.headers.HeaderDefinition
-
Returns the Java type of the header value which is associated with this definition's key.
- getJsonArrayForDefinition(HeaderDefinition) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- getJsonArrayValidator() - Static method in class org.eclipse.ditto.model.base.headers.HeaderValueValidators
-
Returns a validator for checking if a CharSequence represents a
JsonArray
which contains only string items. - getJsonKey() - Static method in enum org.eclipse.ditto.model.base.json.JsonSchemaVersion
-
Returns the JSON key of the schema version.
- getJsonObjectValidator() - Static method in class org.eclipse.ditto.model.base.headers.HeaderValueValidators
-
Returns a validator for checking if a CharSequence represents a
JsonObject
. - getKey() - Method in enum org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
- getKey() - Method in interface org.eclipse.ditto.model.base.headers.HeaderDefinition
-
Returns the key used as key for header map.
- getLabel() - Method in interface org.eclipse.ditto.model.base.acks.AcknowledgementRequest
-
Returns the label identifying the requested Acknowledgement.
- getLatestSchemaVersion() - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable
-
Returns the latest JsonSchemaVersion the implementing class supports.
- getLongValidator() - Static method in class org.eclipse.ditto.model.base.headers.HeaderValueValidators
-
Returns a validator for checking if a CharSequence is a
long
value. - getManifest() - Method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
- getManifest() - Method in interface org.eclipse.ditto.model.base.headers.WithManifest
-
Returns the manifest (type hint).
- getModified() - Method in interface org.eclipse.ditto.model.base.entity.Entity
-
Returns the modified timestamp of this entity.
- getName() - Method in class org.eclipse.ditto.model.base.entity.id.DefaultNamespacedEntityId
- getName() - Method in interface org.eclipse.ditto.model.base.entity.id.NamespacedEntityId
-
Gets the name part of this entity ID.
- getName() - Method in class org.eclipse.ditto.model.base.entity.id.NamespacedEntityIdWithType
- getNamespace() - Method in class org.eclipse.ditto.model.base.entity.id.DefaultNamespacedEntityId
- getNamespace() - Method in interface org.eclipse.ditto.model.base.entity.id.NamespacedEntityId
-
Gets the namespace part of this entity ID.
- getNamespace() - Method in class org.eclipse.ditto.model.base.entity.id.NamespacedEntityIdWithType
- getNoOpValidator() - Static method in class org.eclipse.ditto.model.base.headers.HeaderValueValidators
-
Returns a validator which never throws an exception.
- getOpaqueTag() - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTag
-
Gets the opaque-tag part of this entity-tag
- getOrigin() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- getOrigin() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns the id of the orignating session (e.g.
- getReadGrantedSubjects() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- getReadGrantedSubjects() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns the authorization subjects with granted "READ" permissions for the key in the map defining a pointer in the Thing.
- getReadRevokedSubjects() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- getReadRevokedSubjects() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns the authorization subjects with explicitly revoked "READ" permissions for the key in the map defining a pointer in the Thing.
- getReadSubjects() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- getReadSubjects() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Deprecated.as of 1.1.0, please use
DittoHeaders.getReadGrantedSubjects()
instead. - getReason() - Method in class org.eclipse.ditto.model.base.common.IdValidator
- getReason() - Method in interface org.eclipse.ditto.model.base.common.Validator
-
Returns the reason why the validation failed.
- getReasonForInvalidity() - Method in class org.eclipse.ditto.model.base.common.BinaryValidationResult
- getReplyTarget() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- getReplyTarget() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
- getRevision() - Method in interface org.eclipse.ditto.model.base.entity.Entity
-
Returns the current revision of this entity.
- getSchemaVersion() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- getSchemaVersion() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns the json schema version.
- getSerializationType() - Method in enum org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
- getSerializationType() - Method in interface org.eclipse.ditto.model.base.headers.HeaderDefinition
-
Returns the type to which this header value should be serialized.
- getSize() - Method in interface org.eclipse.ditto.model.base.auth.AuthorizationContext
-
Returns the size of this authorization context, i.
- getSpecificDefinitionByKey(CharSequence) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
-
Resolve type of a header not defined in
DittoHeaderDefinition
. - getStatusCode() - Method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
-
Retrieves the required HttpStatusCode with which this Exception should be reported back to the user.
- getStringForDefinition(HeaderDefinition) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- getSupportedSchemaVersions() - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable
-
Returns all supported JsonSchemaVersions the implementing class supports.
- getTimeout() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- getTimeout() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns the timeout of a command or message.
- getType() - Method in interface org.eclipse.ditto.model.base.auth.AuthorizationContext
-
Returns the type the authorization context was created with, specifying its "kind".
- GONE - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The target resource is no longer available at the origin server and that this condition is likely to be permanent.
- groupNames() - Static method in class org.eclipse.ditto.model.base.common.Placeholders
-
Get the group names of the placeholder in a match.
H
- hashCode() - Method in class org.eclipse.ditto.model.base.acks.DittoAcknowledgementLabel
- hashCode() - Method in class org.eclipse.ditto.model.base.auth.AuthorizationContextType
- hashCode() - Method in class org.eclipse.ditto.model.base.common.BinaryValidationResult
- hashCode() - Method in class org.eclipse.ditto.model.base.entity.id.DefaultEntityId
- hashCode() - Method in class org.eclipse.ditto.model.base.entity.id.DefaultNamespacedEntityId
- hashCode() - Method in class org.eclipse.ditto.model.base.entity.id.EntityIdWithType
- hashCode() - Method in class org.eclipse.ditto.model.base.entity.id.NamespacedEntityIdWithType
- hashCode() - Method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
- hashCode() - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTag
- hashCode() - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatcher
- hashCode() - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatchers
- HeaderDefinition - Interface in org.eclipse.ditto.model.base.headers
-
This interface represents the definition of a pre-defined Ditto header.
- HeaderValueValidator - Class in org.eclipse.ditto.model.base.headers
-
Deprecated.as of version 1.1.0 this class is deprecated and should not be used anymore. Please use the provided validators of
HeaderValueValidators
instead or provide your own implementations ofValueValidator
resp.AbstractHeaderValueValidator
. - HeaderValueValidators - Class in org.eclipse.ditto.model.base.headers
-
Provides validators for header values.
- HIDDEN - org.eclipse.ditto.model.base.json.FieldType
-
Denotes a hidden JSON field - those are fields which "by default" are not visible.
- href(String) - Method in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeExceptionBuilder
-
Sets a link to a resource which provides further information about the exception to be built.
- href(URI) - Method in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeExceptionBuilder
-
Sets a link to a resource which provides further information about the exception to be built.
- href(Supplier<URI>) - Method in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeExceptionBuilder
-
Sets a link to a resource which provides further information about the exception to be built.
- HREF - Static variable in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeException.JsonFields
-
JSON field containing the link to further information about the exception.
- HttpStatusCode - Enum in org.eclipse.ditto.model.base.common
-
An enumeration of HTTP status codes.
- HTTPVERSION_NOT_SUPPORTED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server does not support, or refuses to support, the major version of HTTP that was used in the request message.
I
- ID_PATTERN - Static variable in class org.eclipse.ditto.model.base.entity.id.RegexPatterns
-
The compiled regex pattern for namespaced entity IDs.
- ID_REGEX - Static variable in class org.eclipse.ditto.model.base.entity.id.RegexPatterns
-
The regex pattern for an Entity ID.
- IdValidator - Class in org.eclipse.ditto.model.base.common
-
Instances of this class can be used to validate a specified ID against the provided regular expression.
- IF_MATCH - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for "If-Match".
- IF_NONE_MATCH - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for "If-None-Match".
- ifMatch(EntityTagMatchers) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- ifMatch(EntityTagMatchers) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets the If-Match value.
- ifNoneMatch(EntityTagMatchers) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- ifNoneMatch(EntityTagMatchers) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets the If-None-Match value.
- IM_A_TEAPOT - org.eclipse.ditto.model.base.common.HttpStatusCode
-
Any attempt to brew coffee with a teapot should result in the error code "418 I'm a teapot".
- implementsSchemaVersion(int) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable
-
Returns whether or not this
Jsonifiable
implements the givenversion
. - implementsSchemaVersion(JsonSchemaVersion) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable
-
Returns whether or not this
Jsonifiable
implements the givenschemaVersion
. - IMUSED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance.
- INBOUND_PAYLOAD_MAPPER - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for "ditto-inbound-payload-mapper".
- inboundPayloadMapper(String) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- inboundPayloadMapper(String) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets the inbound
MessageMapper
ID value. - increment() - Method in interface org.eclipse.ditto.model.base.entity.Revision
-
Creates a new revision by incrementing this revision by one.
- INSUFFICIENT_STORAGE - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request.
- INTERNAL_SERVER_ERROR - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server encountered an unexpected condition that prevented it from fulfilling the request.
- invalid(Throwable) - Static method in class org.eclipse.ditto.model.base.common.BinaryValidationResult
-
Creates an instance of an invalid validation result holding the given throwable as reason for invalidity.
- InvalidRqlExpressionException - Exception in org.eclipse.ditto.model.base.exceptions
-
Thrown if an RQL expression is invalid.
- InvalidRqlExpressionException.Builder - Class in org.eclipse.ditto.model.base.exceptions
-
A mutable builder with a fluent API for a
InvalidRqlExpressionException
. - isAsterisk() - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatcher
-
Indicates whether this entity-tag equals "*".
- isAuthorized(Collection<AuthorizationSubject>, Collection<AuthorizationSubject>) - Method in interface org.eclipse.ditto.model.base.auth.AuthorizationContext
-
Checks if this authorization context is authorized for a certain operation by evaluating the given granted and revoked authorization subjects.
- isClientError() - Method in enum org.eclipse.ditto.model.base.common.HttpStatusCode
-
Indicates whether this status code is a client error status code (4xx).
- isCompatibleOrThrow(EntityIdWithType) - Method in class org.eclipse.ditto.model.base.entity.id.EntityIdWithType
-
Checks if the passed entity ID is compatible with this entity ID.
- isCompatibleOrThrow(EntityIdWithType) - Method in class org.eclipse.ditto.model.base.entity.id.NamespacedEntityIdWithType
-
Checks if the passed entity ID is compatible with this entity ID.
- isDeleted() - Method in interface org.eclipse.ditto.model.base.entity.Entity
-
Returns whether this entity is deleted.
- isDryRun() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- isDryRun() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns whether a command is to be executed as a dry run.
- isDummy() - Method in class org.eclipse.ditto.model.base.entity.id.DefaultEntityId
- isDummy() - Method in class org.eclipse.ditto.model.base.entity.id.DefaultNamespacedEntityId
- isDummy() - Method in interface org.eclipse.ditto.model.base.entity.id.EntityId
-
Checks whether this ID acts as dummy ID.
- isDummy() - Method in class org.eclipse.ditto.model.base.entity.id.EntityIdWithType
- isEmpty() - Method in interface org.eclipse.ditto.model.base.auth.AuthorizationContext
-
Indicates whether this authorization context is empty.
- isEmpty() - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatchers
- isEntriesSizeGreaterThan(long) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- isEntriesSizeGreaterThan(long) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Indicates whether the size of the headers entries is greater than the specified size.
- isExpectedBoolean(HeaderDefinition, Boolean) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
-
Indicates whether the value for the given HeaderDefinition evaluates to the given expected boolean.
- isGreaterThan(T) - Method in interface org.eclipse.ditto.model.base.entity.Revision
-
Indicates if this revision is greater than the given revision.
- isGreaterThanOrEqualTo(T) - Method in interface org.eclipse.ditto.model.base.entity.Revision
-
Indicates if this revision is greater than or equal to the given revision.
- isInternalError() - Method in enum org.eclipse.ditto.model.base.common.HttpStatusCode
-
Indicates whether this status code is an internal error status code (5xx).
- isLowerThan(T) - Method in interface org.eclipse.ditto.model.base.entity.Revision
-
Indicates if this revision is lower than the given revision.
- isLowerThanOrEqualTo(T) - Method in interface org.eclipse.ditto.model.base.entity.Revision
-
Indicates if this revision is lower than or equal to the given revision.
- isResponseRequired() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- isResponseRequired() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns whether a response to a command is required or if it may be omitted (fire and forget semantics).
- isSuccess() - Method in enum org.eclipse.ditto.model.base.common.HttpStatusCode
-
Indicates whether this status code is a success status code (2XX).
- isValid() - Method in class org.eclipse.ditto.model.base.common.BinaryValidationResult
-
Indicates whether the validation was successful or not.
- isValid() - Method in class org.eclipse.ditto.model.base.common.IdValidator
-
Validates the ID which was provided to the static factory method of this class.
- isValid() - Method in interface org.eclipse.ditto.model.base.common.Validator
-
Indicates the validation result.
- isValid(CharSequence) - Static method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTag
-
Validates that the given char sequence is a quoted with an optional weak prefix.
- isValid(CharSequence) - Static method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatcher
-
Checks if the given char sequence in terms of being a valid
EntityTagMatcher
- isWeak() - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTag
-
Indicates whether this entity-tag is a weak entity-tag
- iterator() - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatchers
J
- JSON_SCHEMA_VERSION - Static variable in class org.eclipse.ditto.model.base.auth.AuthorizationContext.JsonFields
-
Deprecated.as of 1.1.0 this field is no longer in use.
- Jsonifiable<J extends org.eclipse.ditto.json.JsonValue> - Interface in org.eclipse.ditto.model.base.json
-
A
Jsonifiable
is an entity which can be represented as JSON (string). - Jsonifiable.WithFieldSelector - Interface in org.eclipse.ditto.model.base.json
-
Represents a
Jsonifiable
where additionally aJsonFieldSelector
can be specified to determine the content of the result JSON. - Jsonifiable.WithFieldSelectorAndPredicate<T> - Interface in org.eclipse.ditto.model.base.json
-
Represents a
Jsonifiable
where additionally aPredicate
as well as aJsonFieldSelector
can be specified to determine the content of the result JSON. - Jsonifiable.WithPointer<J extends org.eclipse.ditto.json.JsonValue> - Interface in org.eclipse.ditto.model.base.json
-
Represents a
Jsonifiable
where additionally aJsonPointer
can be specified to determine the content of the result JSON. - Jsonifiable.WithPredicate<J extends org.eclipse.ditto.json.JsonValue,T> - Interface in org.eclipse.ditto.model.base.json
-
Represents a
Jsonifiable
where additionally aPredicate
can be specified which determines the content of the result JSON. - JsonParsableCommand - Annotation Type in org.eclipse.ditto.model.base.json
-
This annotated marks a class as deserializable from Json when calling the specified
JsonParsableCommand.method()
withJsonObject
as first andDittoHeaders
as second argument. - JsonParsableCommandResponse - Annotation Type in org.eclipse.ditto.model.base.json
-
This annotated marks a class as deserializable from Json when calling the specified
JsonParsableCommand.method()
withJsonObject
as first andDittoHeaders
as second argument. - JsonParsableEvent - Annotation Type in org.eclipse.ditto.model.base.json
-
This annotated marks a class as deserializable from Json when calling the specified
JsonParsableEvent.method()
withJsonObject
as first andDittoHeaders
as second argument. - JsonParsableException - Annotation Type in org.eclipse.ditto.model.base.json
-
This annotated marks a class as deserializable from Json when calling the specified
JsonParsableException.method()
withJsonObject
as first andDittoHeaders
as second argument. - JsonSchemaVersion - Enum in org.eclipse.ditto.model.base.json
-
An enumeration of versions of JSON schemas.
- JWT - Static variable in class org.eclipse.ditto.model.base.auth.DittoAuthorizationContextType
-
Type indicating that the authorization context was created using a JWT (JSON Web Token).
K
- keepAuthContextSubjectsWithIssuer(AuthorizationContext) - Static method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
L
- LATEST - Static variable in enum org.eclipse.ditto.model.base.json.JsonSchemaVersion
-
Defines the currently latest available schema version.
- length() - Method in class org.eclipse.ditto.model.base.acks.DittoAcknowledgementLabel
- length() - Method in class org.eclipse.ditto.model.base.auth.AuthorizationContextType
- length() - Method in interface org.eclipse.ditto.model.base.entity.id.EntityId
- LENGTH_REQUIRED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server refuses to accept the request without a defined Content-Length.
- loadJson(JsonObject) - Method in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeExceptionBuilder
-
Sets message, description and link from a JSON object of it has matching fields with valid values.
- LOCATION - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for the response header defining the HTTP "Location" where a new resource was created.
- LOCKED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The source or destination resource of a method is locked.
- LOOP_DETECTED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server terminated an operation because it encountered an infinite loop while processing a request with "Depth: infinity".
M
- message(String) - Method in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeExceptionBuilder
-
Sets the detail message of the exception to be built.
- message(Supplier<String>) - Method in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeExceptionBuilder
-
Sets the detail message of the exception to be built.
- MESSAGE - Static variable in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeException.JsonFields
-
JSON field containing the message of the exception.
- method() - Method in annotation type org.eclipse.ditto.model.base.json.JsonParsableCommand
-
The name of the method accepting a
JsonObject
as first argument andDittoHeaders
as seconds argument. - method() - Method in annotation type org.eclipse.ditto.model.base.json.JsonParsableCommandResponse
-
The name of the method accepting a
JsonObject
as first argument andDittoHeaders
as seconds argument. - method() - Method in annotation type org.eclipse.ditto.model.base.json.JsonParsableEvent
-
The name of the method accepting a
JsonObject
as first argument andDittoHeaders
as seconds argument. - method() - Method in annotation type org.eclipse.ditto.model.base.json.JsonParsableException
-
The name of the method accepting a
JsonObject
as first argument andDittoHeaders
as seconds argument. - METHOD_NOT_ALLOWED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The method received in the request-line is known by the origin server but not supported by the target resource.
- MISDIRECTED_REQUEST - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The request was directed at a server that is not able to produce a response.
- MOVED_PERMANENTLY - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The target resource has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs.
- MULTI_STATUS - org.eclipse.ditto.model.base.common.HttpStatusCode
-
A Multi-Status response conveys information about multiple resources in situations where multiple status codes might be appropriate.
- MULTIPLE_CHOICES - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The target resource has more than one representation, each with its own more specific identifier, and information about the alternatives is being provided so that the user (or user agent) can select a preferred representation by redirecting its request to one or more of those identifiers.
- myself - Variable in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
N
- name() - Method in annotation type org.eclipse.ditto.model.base.json.JsonParsableCommand
-
Returns the name of the command.
- name() - Method in annotation type org.eclipse.ditto.model.base.json.JsonParsableEvent
-
Returns the name of the command.
- NAMESPACE_DELIMITER - Static variable in class org.eclipse.ditto.model.base.entity.id.RegexPatterns
-
The delimiter between namespace and name in an entity ID.
- NAMESPACE_GROUP_NAME - Static variable in class org.eclipse.ditto.model.base.entity.id.RegexPatterns
-
Name of the namespace group in the entity ID regex.
- NAMESPACE_PATTERN - Static variable in class org.eclipse.ditto.model.base.entity.id.RegexPatterns
-
The compiled regex pattern for namespaces.
- NAMESPACE_REGEX - Static variable in class org.eclipse.ditto.model.base.entity.id.RegexPatterns
-
The regex pattern for namespaces which validates that the namespace conforms the java package notation.
- NamespacedEntityId - Interface in org.eclipse.ditto.model.base.entity.id
-
Interface for all entity IDs that contain a namespace in their string representation.
- NamespacedEntityIdInvalidException - Exception in org.eclipse.ditto.model.base.entity.id
-
Thrown if the namespaced entity ID is not valid according to
RegexPatterns.ID_REGEX
. - NamespacedEntityIdInvalidException.Builder - Class in org.eclipse.ditto.model.base.entity.id
-
A mutable builder with a fluent API for a
NamespacedEntityIdInvalidException
. - NamespacedEntityIdInvalidException.JsonFields - Class in org.eclipse.ditto.model.base.entity.id
-
An enumeration of the known
JsonField
s of aDittoRuntimeException
. - NamespacedEntityIdWithType - Class in org.eclipse.ditto.model.base.entity.id
-
Base implementation for namespaced entity IDs which are aware of their entity type.
- NamespacedEntityIdWithType(NamespacedEntityId) - Constructor for class org.eclipse.ditto.model.base.entity.id.NamespacedEntityIdWithType
-
Constructs a new NamespacedEntityIdWithType object.
- NETWORK_AUTHENTICATION_REQUIRED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The client needs to authenticate to gain network access.
- NETWORK_CONNECT_TIMEOUT - org.eclipse.ditto.model.base.common.HttpStatusCode
-
This status code is not specified in any RFCs, but is used by some HTTP proxies to signal a network connect timeout behind the proxy to a client in front of the proxy.
- newAuthContext(Iterable<AuthorizationSubject>) - Static method in class org.eclipse.ditto.model.base.auth.AuthorizationModelFactory
-
Deprecated.as of 1.1.0, please use
AuthorizationModelFactory.newAuthContext(AuthorizationContextType, java.lang.Iterable)
instead - newAuthContext(JsonObject) - Static method in class org.eclipse.ditto.model.base.auth.AuthorizationModelFactory
-
Returns a new immutable
AuthorizationContext
based on the given JSON object. - newAuthContext(AuthorizationContextType, Iterable<AuthorizationSubject>) - Static method in class org.eclipse.ditto.model.base.auth.AuthorizationModelFactory
-
Returns a new immutable
AuthorizationContext
with the given authorization subjects. - newAuthContext(AuthorizationContextType, AuthorizationSubject, AuthorizationSubject...) - Static method in class org.eclipse.ditto.model.base.auth.AuthorizationModelFactory
-
Returns a new immutable
AuthorizationContext
with the given authorization subjects. - newAuthContext(AuthorizationSubject, AuthorizationSubject...) - Static method in class org.eclipse.ditto.model.base.auth.AuthorizationModelFactory
-
Deprecated.as of 1.1.0, please use
AuthorizationModelFactory.newAuthContext(AuthorizationContextType, AuthorizationSubject, AuthorizationSubject...)
instead - newAuthSubject(CharSequence) - Static method in class org.eclipse.ditto.model.base.auth.AuthorizationModelFactory
-
Returns a new immutable
AuthorizationSubject
with the given identifier. - newAuthSubjectsLimitBuilder(int, int) - Static method in exception org.eclipse.ditto.model.base.exceptions.DittoHeadersTooLargeException
-
A mutable builder for a
DittoHeadersTooLargeException
due to auth subjects limitation. - newBuilder() - Static method in exception org.eclipse.ditto.model.base.exceptions.InvalidRqlExpressionException
-
A mutable builder for a
InvalidRqlExpressionException
. - newBuilder() - Static method in exception org.eclipse.ditto.model.base.exceptions.SignalEnrichmentFailedException
-
A mutable builder for a
SignalEnrichmentFailedException
in case of an invalid type. - newBuilder() - Static method in exception org.eclipse.ditto.model.base.exceptions.TooManyRequestsException
-
A mutable builder for a
TooManyRequestsException
. - newBuilder() - Static method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns a new empty builder for a
DittoHeaders
object. - newBuilder(CharSequence) - Static method in exception org.eclipse.ditto.model.base.entity.id.NamespacedEntityIdInvalidException
-
A mutable builder for a
NamespacedEntityIdInvalidException
. - newBuilder(String, HttpStatusCode) - Static method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
-
Returns a new mutable builder for fluently creating instances of
DittoRuntimeException
s.. - newBuilder(Map<String, String>) - Static method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns a new builder for a
DittoHeaders
object which is initialised with the specified headers. - newBuilder(JsonObject) - Static method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns a new builder for a
DittoHeaders
object which is initialised with the headers the specified JSON object provides. - newBuilder(DittoRuntimeException) - Static method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
-
Returns a new mutable builder with a fluent API for a
dittoRuntimeException
. - newCustomMessageBuilder(String) - Static method in exception org.eclipse.ditto.model.base.exceptions.DittoHeaderInvalidException
-
A mutable builder for a
DittoHeaderInvalidException
with a custom message. - newInstance(CharSequence) - Static method in interface org.eclipse.ditto.model.base.auth.AuthorizationSubject
-
Returns a new immutable
AuthorizationSubject
with the given identifier. - newInstance(CharSequence, String) - Static method in class org.eclipse.ditto.model.base.common.IdValidator
-
Creates a new
IdValidator
instance. - newInstance(AuthorizationContextType, Iterable<AuthorizationSubject>) - Static method in interface org.eclipse.ditto.model.base.auth.AuthorizationContext
-
Returns a new immutable
AuthorizationContext
with the given authorization subjects. - newInstance(AuthorizationContextType, AuthorizationSubject, AuthorizationSubject...) - Static method in interface org.eclipse.ditto.model.base.auth.AuthorizationContext
-
Returns a new immutable
AuthorizationContext
with the given authorization subjects. - newInstance(AuthorizationSubject, AuthorizationSubject...) - Static method in interface org.eclipse.ditto.model.base.auth.AuthorizationContext
-
Deprecated.as of 1.1.0, please use
AuthorizationContext.newInstance(AuthorizationContextType, AuthorizationSubject, AuthorizationSubject...)
instead - newInvalidTypeBuilder(String, CharSequence, String) - Static method in exception org.eclipse.ditto.model.base.exceptions.DittoHeaderInvalidException
-
A mutable builder for a
DittoHeaderInvalidException
in case of an invalid type. - newInvalidTypeBuilder(HeaderDefinition, CharSequence, String) - Static method in exception org.eclipse.ditto.model.base.exceptions.DittoHeaderInvalidException
-
A mutable builder for a
DittoHeaderInvalidException
in case of an invalid type. - newSizeLimitBuilder(long) - Static method in exception org.eclipse.ditto.model.base.exceptions.DittoHeadersTooLargeException
-
A mutable builder for a
DittoHeadersTooLargeException
due to size limitation. - NO_CONTENT - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server has successfully fulfilled the request and that there is no additional content to send in the response payload body.
- NON_AUTHORITATIVE_INFORMATION - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The request was successful but the enclosed payload has been modified from that of the origin server's 200 OK response by a transforming proxy.
- NOT_ACCEPTABLE - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request1, and the server is unwilling to supply a default representation.
- NOT_EXTENDED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The policy for accessing the resource has not been met in the request.
- NOT_FOUND - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
- NOT_IMPLEMENTED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server does not support the functionality required to fulfill the request.
- NOT_MODIFIED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
A conditional GET or HEAD request has been received and would have resulted in a 200 OK response if it were not for the fact that the condition evaluated to false.
- notHidden() - Static method in enum org.eclipse.ditto.model.base.json.FieldType
-
Returns a Predicate for fields which are NOT
FieldType.HIDDEN
.
O
- of(long, int) - Static method in class org.eclipse.ditto.model.base.headers.DittoHeadersSizeChecker
-
Create a headers size checker from maximum size and authorization subjects.
- of(CharSequence) - Static method in interface org.eclipse.ditto.model.base.acks.AcknowledgementLabel
-
Returns a new AcknowledgementLabel for the given character sequence.
- of(CharSequence) - Static method in class org.eclipse.ditto.model.base.entity.id.DefaultEntityId
-
Returns an instance of this class based on the given entity ID.
- of(CharSequence) - Static method in class org.eclipse.ditto.model.base.entity.id.DefaultNamespacedEntityId
-
Returns a
NamespacedEntityId
based on the given entityId CharSequence. - of(CharSequence) - Static method in interface org.eclipse.ditto.model.base.entity.type.EntityType
-
Returns an instance of EntityType based on the given CharSequence.
- of(String, String) - Static method in class org.eclipse.ditto.model.base.entity.id.DefaultNamespacedEntityId
-
Creates a new
NamespacedEntityId
with the given namespace and name. - of(Map<String, String>) - Static method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns a new instance of
DittoHeaders
containing the specified key-value-pairs. - of(AcknowledgementLabel) - Static method in interface org.eclipse.ditto.model.base.acks.AcknowledgementRequest
-
Returns an instance of AcknowledgementRequest.
- OK - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The request has succeeded.
- org.eclipse.ditto.model.base.acks - package org.eclipse.ditto.model.base.acks
-
Contains means for triggering end-to-end (business) acknowledgements.
- org.eclipse.ditto.model.base.auth - package org.eclipse.ditto.model.base.auth
-
Contains interfaces and classes for authorization.
- org.eclipse.ditto.model.base.common - package org.eclipse.ditto.model.base.common
-
Provides classes and interfaces which are commonly useful for all Ditto domain model frameworks.
- org.eclipse.ditto.model.base.entity - package org.eclipse.ditto.model.base.entity
- org.eclipse.ditto.model.base.entity.id - package org.eclipse.ditto.model.base.entity.id
-
Provides classes and interfaces which are commonly useful for all Ditto domain model frameworks.
- org.eclipse.ditto.model.base.entity.type - package org.eclipse.ditto.model.base.entity.type
-
Provided interfaces and classes for the type of an Entity.
- org.eclipse.ditto.model.base.exceptions - package org.eclipse.ditto.model.base.exceptions
-
Provides commonly used exceptions as well as support for exception handling.
- org.eclipse.ditto.model.base.headers - package org.eclipse.ditto.model.base.headers
-
This package provides interfaces and classes for headers.
- org.eclipse.ditto.model.base.headers.entitytag - package org.eclipse.ditto.model.base.headers.entitytag
- org.eclipse.ditto.model.base.json - package org.eclipse.ditto.model.base.json
-
Provides classes and interfaces for assisting JSON serialization.
- origin(CharSequence) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- origin(CharSequence) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets the origin value.
- ORIGIN - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for origin value that is set to the id of the originating session.
- ORIGINATOR - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for the authorization subject that caused an event.
P
- parseAcknowledgementRequest(CharSequence) - Static method in interface org.eclipse.ditto.model.base.acks.AcknowledgementRequest
-
Parses the given CharSequence argument as an AcknowledgementRequest.
- PARTIAL_CONTENT - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server is successfully fulfilling a range request for the target resource by transferring one or more parts of the selected representation that correspond to the satisfiable ranges found in the request's Range header field.
- pattern() - Static method in class org.eclipse.ditto.model.base.common.Placeholders
-
Get the pattern for any placeholder.
- PAYMENT_REQUIRED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
Reserved for future use.
- PERMANENT_REDIRECT - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The target resource has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs.
- Placeholders - Class in org.eclipse.ditto.model.base.common
-
Supports checking for presence of placeholders in the format
{{ prefix:key }}
or the legacy-format${prefix.key}
. - PRE_AUTHENTICATED_CONNECTION - Static variable in class org.eclipse.ditto.model.base.auth.DittoAuthorizationContextType
-
Type indicating that the authorization context was created using the pre-authenticated mechanism of connections by having configured the contained auth subjects in a Ditto connection source/target.
- PRE_AUTHENTICATED_HTTP - Static variable in class org.eclipse.ditto.model.base.auth.DittoAuthorizationContextType
-
Type indicating that the authorization context was created the pre-authenticated mechanism via HTTP which is setting an authenticated subject as header field, e.g.
- PRECONDITION_FAILED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
One or more conditions given in the request header fields evaluated to false when tested on the server.
- PRECONDITION_REQUIRED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The origin server requires the request to be conditional.
- PROCESSING - org.eclipse.ditto.model.base.common.HttpStatusCode
-
An interim response used to inform the client that the server has accepted the complete request, but has not yet completed it.
- PROXY_AUTHENTICATION_REQUIRED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
Similar to 401 Unauthorized, but it indicates that the client needs to authenticate itself in order to use a proxy.
- put(String, String) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- putAll(Map<? extends String, ? extends String>) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- putBoolean(HeaderDefinition, boolean) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- putCharSequence(HeaderDefinition, CharSequence) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
-
Puts the specified CharSequence value to this builder using the key of the specified definition.
- putHeader(CharSequence, CharSequence) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- putHeader(CharSequence, CharSequence) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Puts an arbitrary header with the specified
name
and Stringvalue
to this builder. - putHeaders(Map<String, String>) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- putHeaders(Map<String, String>) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Puts the specified headers to this builder.
- putStringCollection(HeaderDefinition, Collection<String>) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
R
- randomCorrelationId() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets a generated random correlation ID.
- READ_REVOKED_SUBJECTS - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for subjects with revoked READ subjects.
- READ_SUBJECTS - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for read subjects value.
- readDescription(JsonObject) - Static method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
- readGrantedSubjects(Collection<AuthorizationSubject>) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- readGrantedSubjects(Collection<AuthorizationSubject>) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets the subjects with granted READ access.
- readHRef(JsonObject) - Static method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
- readMessage(JsonObject) - Static method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
- readRevokedSubjects(Collection<AuthorizationSubject>) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- readRevokedSubjects(Collection<AuthorizationSubject>) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets the subjects with explicitly revoked READ access.
- readSubjects(Collection<String>) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- readSubjects(Collection<String>) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Deprecated.as of 1.1.0, please use
DittoHeadersBuilder.readGrantedSubjects(Collection)
. - readSubjectsFromString(String) - Static method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Deprecated.Use
DittoHeaderDefinition.READ_SUBJECTS
to read subjects - readSubjectsToString(Set<String>) - Static method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Deprecated.Use
DittoHeaderDefinition.READ_SUBJECTS
to read subjects - RegexPatterns - Class in org.eclipse.ditto.model.base.entity.id
-
This class provides regex patterns used for entity id validation.
- REGULAR - org.eclipse.ditto.model.base.json.FieldType
-
Denotes a regular JSON field like for example
"thingId"
. - regularOrSpecial() - Static method in enum org.eclipse.ditto.model.base.json.FieldType
-
Returns a Predicate for fields which are either
FieldType.REGULAR
orFieldType.SPECIAL
. - remove(Object) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- removeHeader(CharSequence) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- removeHeader(CharSequence) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Removes from this builder the value which is associated with the specified key.
- removePreconditionHeaders() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- removePreconditionHeaders() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Removes all precondition headers from this builder.
- REPLY_TARGET - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for the internal header "ditto-reply-target".
- REPLY_TO - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for the reply to address.
- replyTarget(Integer) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- replyTarget(Integer) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Set the reply-target.
- REQUEST_ENTITY_TOO_LARGE - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server is refusing to process a request because the request payload is larger than the server is willing or able to process.
- REQUEST_HEADER_FIELDS_TOO_LARGE - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server is unwilling to process the request because its header fields are too large.
- REQUEST_TIMEOUT - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server did not receive a complete request message within the time that it was prepared to wait.
- REQUEST_URI_TOO_LONG - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server is refusing to service the request because the request-target is longer than the server is willing to interpret.
- REQUESTED_ACKS - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for defining which acknowledgements ("ack") are requested for a command processed by Ditto.
- REQUESTED_RANGE_NOT_SATISFIABLE - org.eclipse.ditto.model.base.common.HttpStatusCode
-
None of the ranges in the request's Range header field overlap the current extent of the selected resource or that the set of ranges requested has been rejected due to invalid ranges or an excessive request of small or overlapping ranges.
- RESET_CONTENT - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server has fulfilled the request and desires that the user agent reset the "document view", which caused the request to be sent, to its original state as received from the origin server.
- RESPONSE_REQUIRED - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for response required value.
- responseRequired(boolean) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- responseRequired(boolean) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets the responseRequired value.
- retryAfter(Duration) - Method in class org.eclipse.ditto.model.base.exceptions.TooManyRequestsException.Builder
-
Set "retry-after" header.
- Revision<T extends Revision<T>> - Interface in org.eclipse.ditto.model.base.entity
-
Base type of all revisions.
S
- SCHEMA_VERSION - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for schema version value.
- schemaVersion(JsonSchemaVersion) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- schemaVersion(JsonSchemaVersion) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets the json schema version value.
- SEE_OTHER - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server is redirecting the user agent to a different resource, as indicated by a URI in the Location header field, which is intended to provide an indirect response to the original request.
- SERVICE_UNAVAILABLE - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay.
- setDittoHeaders(DittoHeaders) - Method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
- setDittoHeaders(DittoHeaders) - Method in interface org.eclipse.ditto.model.base.headers.WithDittoHeaders
-
Sets the
DittoHeaders
and returns a new object. - shouldReadFromExternalHeaders() - Method in enum org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
- shouldReadFromExternalHeaders() - Method in interface org.eclipse.ditto.model.base.headers.HeaderDefinition
-
Returns whether Ditto reads this header from headers sent by externals.
- shouldWriteToExternalHeaders() - Method in enum org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
- shouldWriteToExternalHeaders() - Method in interface org.eclipse.ditto.model.base.headers.HeaderDefinition
-
Returns whether Ditto publishes this header to externals.
- SignalEnrichmentFailedException - Exception in org.eclipse.ditto.model.base.exceptions
-
Thrown when signal enrichment failed.
- SignalEnrichmentFailedException.Builder - Class in org.eclipse.ditto.model.base.exceptions
-
A mutable builder with a fluent API for a
SignalEnrichmentFailedException
. - SPECIAL - org.eclipse.ditto.model.base.json.FieldType
-
Denotes a special JSON field like for example
"__schemaVersion"
. - spliterator() - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatchers
- STATUS - Static variable in class org.eclipse.ditto.model.base.exceptions.DittoRuntimeException.JsonFields
-
JSON field containing the HTTP status code of the exception.
- stream() - Method in interface org.eclipse.ditto.model.base.auth.AuthorizationContext
-
Returns a sequential
Stream
with the authorization subjects of this context as its source. - stream() - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatchers
- strong(String) - Static method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTag
-
Creates a strong entity-tag with the given
opaqueTag
. - strongCompareTo(EntityTag) - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTag
-
Implements strong comparison based on RFC 7232
- strongMatch(EntityTag) - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatcher
-
Matches this
EntityTagMatcher
to the givenentityTagToMatch
. - subSequence(int, int) - Method in class org.eclipse.ditto.model.base.acks.DittoAcknowledgementLabel
- subSequence(int, int) - Method in class org.eclipse.ditto.model.base.auth.AuthorizationContextType
- subSequence(int, int) - Method in interface org.eclipse.ditto.model.base.entity.id.EntityId
- SWITCHING_PROTOCOLS - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server understands and is willing to comply with the client's request, via the Upgrade header field, for a change in the application protocol being used on this connection.
T
- TEMPORARY_REDIRECT - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The target resource resides temporarily under a different URI and the user agent MUST NOT change the request method if it performs an automatic redirection to that URI.
- test(JsonField) - Method in enum org.eclipse.ditto.model.base.json.FieldType
- test(JsonField) - Method in enum org.eclipse.ditto.model.base.json.JsonSchemaVersion
- timeout(CharSequence) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- timeout(CharSequence) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets the positive timeout string of the DittoHeaders to build.
- timeout(Duration) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- timeout(Duration) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeadersBuilder
-
Sets the positive timeout duration of the DittoHeaders to build.
- TIMEOUT - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for the timeout of a command or message.
- toBuilder() - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Returns a mutable builder with a fluent API for immutable
DittoHeaders
. - toInt() - Method in enum org.eclipse.ditto.model.base.common.HttpStatusCode
-
Returns the integer value of this status code.
- toInt() - Method in enum org.eclipse.ditto.model.base.json.JsonSchemaVersion
-
Returns the
int
value of the version number of this schema. - toJson() - Method in interface org.eclipse.ditto.model.base.auth.AuthorizationContext
-
Returns all non hidden marked fields of this authorization context.
- toJson() - Method in interface org.eclipse.ditto.model.base.entity.Entity
-
Returns all non hidden marked fields of this object.
- toJson() - Method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
-
Returns all non hidden marked fields of this exception.
- toJson() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- toJson() - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable
-
Returns this object as
JsonValue
. - toJson(Predicate<T>) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable.WithPredicate
-
Returns this object as
JsonValue
. - toJson(JsonFieldSelector) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelector
-
Returns this object as
JsonObject
. - toJson(JsonFieldSelector, Predicate<T>) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelectorAndPredicate
-
Returns this object as
JsonValue
. - toJson(JsonPointer) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelector
- toJson(JsonPointer) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable.WithPointer
-
Returns this object as
JsonValue
. - toJson(JsonSchemaVersion, Predicate<JsonField>) - Method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
- toJson(JsonSchemaVersion, Predicate<T>) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable.WithPredicate
-
Returns this object as
JsonValue
. - toJson(JsonSchemaVersion, JsonFieldSelector) - Method in interface org.eclipse.ditto.model.base.entity.Entity
- toJson(JsonSchemaVersion, JsonFieldSelector) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelector
-
Returns this object as
JsonObject
. - toJson(JsonSchemaVersion, JsonFieldSelector, Predicate<T>) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelectorAndPredicate
-
Returns this object as
JsonValue
. - toJson(JsonSchemaVersion, JsonPointer) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelector
- toJson(JsonSchemaVersion, JsonPointer) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable.WithPointer
-
Returns this object as
JsonValue
. - toJsonString() - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable
-
Returns a JSON string representation of this object.
- toJsonString(Predicate<T>) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable.WithPredicate
-
Returns a JSON string representation of this object.
- toJsonString(JsonFieldSelector) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelector
-
Returns a JSON string representation of this object.
- toJsonString(JsonFieldSelector, Predicate<T>) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelectorAndPredicate
-
Returns a JSON string representation of this object.
- toJsonString(JsonPointer) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable.WithPointer
-
Returns a JSON string representation of this object.
- toJsonString(JsonSchemaVersion, Predicate<T>) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable.WithPredicate
-
Returns a JSON string representation of this object.
- toJsonString(JsonSchemaVersion, JsonFieldSelector) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelector
-
Returns a JSON string representation of this object.
- toJsonString(JsonSchemaVersion, JsonFieldSelector, Predicate<T>) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelectorAndPredicate
-
Returns a JSON string representation of this object.
- toJsonString(JsonSchemaVersion, JsonPointer) - Method in interface org.eclipse.ditto.model.base.json.Jsonifiable.WithPointer
-
Returns a JSON string representation of this object.
- toLong() - Method in interface org.eclipse.ditto.model.base.entity.Revision
-
Returns this revision as
long
value. - toMap(JsonValueContainer<JsonField>) - Static method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- TOO_MANY_REQUESTS - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The user has sent too many requests in a given amount of time ("rate limiting").
- TooManyRequestsException - Exception in org.eclipse.ditto.model.base.exceptions
-
Thrown if too many requests were done (e.g.
- TooManyRequestsException.Builder - Class in org.eclipse.ditto.model.base.exceptions
-
A mutable builder with a fluent API for a
TooManyRequestsException
. - toString() - Method in interface org.eclipse.ditto.model.base.acks.AcknowledgementLabel
-
Returns the String representation of this AcknowledgementLabel.
- toString() - Method in interface org.eclipse.ditto.model.base.acks.AcknowledgementRequest
-
Returns the parsable String representation of this AcknowledgementRequest.
- toString() - Method in class org.eclipse.ditto.model.base.acks.DittoAcknowledgementLabel
- toString() - Method in class org.eclipse.ditto.model.base.auth.AuthorizationContextType
- toString() - Method in class org.eclipse.ditto.model.base.common.BinaryValidationResult
- toString() - Method in class org.eclipse.ditto.model.base.entity.id.DefaultEntityId
- toString() - Method in class org.eclipse.ditto.model.base.entity.id.DefaultNamespacedEntityId
- toString() - Method in class org.eclipse.ditto.model.base.entity.id.EntityIdWithType
- toString() - Method in interface org.eclipse.ditto.model.base.entity.Revision
-
Returns this revision as string.
- toString() - Method in interface org.eclipse.ditto.model.base.entity.type.EntityType
-
Returns the value of this entity type.
- toString() - Method in exception org.eclipse.ditto.model.base.exceptions.DittoRuntimeException
- toString() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- toString() - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- toString() - Method in enum org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
- toString() - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTag
- toString() - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatcher
- toString() - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatchers
- toString() - Method in interface org.eclipse.ditto.model.base.headers.HeaderDefinition
-
Same as
HeaderDefinition.getKey()
. - toString() - Method in enum org.eclipse.ditto.model.base.json.JsonSchemaVersion
-
Returns the version number as String.
- toUtf8String(ByteBuffer) - Static method in class org.eclipse.ditto.model.base.common.ByteBufferUtils
-
Creates a string from the ByteBuffer.
- truncate(long) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeaders
- truncate(long) - Method in interface org.eclipse.ditto.model.base.headers.DittoHeaders
-
Truncates this headers to the specified size limit, keeping as many header entries as possible.
- TWIN_PERSISTED - Static variable in class org.eclipse.ditto.model.base.acks.DittoAcknowledgementLabel
-
Label for Acknowledgements indicating that a change to an entity (e.
- type() - Method in annotation type org.eclipse.ditto.model.base.json.JsonParsableCommandResponse
-
Used as identifier of the CommandResponse.
- TYPE - Static variable in class org.eclipse.ditto.model.base.auth.AuthorizationContext.JsonFields
-
JSON field containing the authorization context's type.
- typePrefix() - Method in annotation type org.eclipse.ditto.model.base.json.JsonParsableCommand
-
Returns the type prefix of the command.
- typePrefix() - Method in annotation type org.eclipse.ditto.model.base.json.JsonParsableEvent
-
Returns the type prefix of the event.
U
- UNAUTHORIZED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The request has not been applied because it lacks valid authentication credentials for the target resource.
- UNAVAILABLE_FOR_LEGAL_REASONS - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server is denying access to the resource as a consequence of a legal demand.
- UNPROCESSABLE_ENTITY - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server understands the content type of the request entity (hence a 415 Unsupported Media Type status code is inappropriate), and the syntax of the request entity is correct (thus a 400 Bad Request status code is inappropriate) but was unable to process the contained instructions.
- UNSPECIFIED - Static variable in class org.eclipse.ditto.model.base.auth.DittoAuthorizationContextType
-
Type indicating that the authorization context was created from a not specified source, e.g.
- UNSUPPORTED_MEDIA_TYPE - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The origin server is refusing to service the request because the payload is in a format not supported by this method on the target resource.
- UnsupportedMediaTypeException - Exception in org.eclipse.ditto.model.base.exceptions
-
Thrown if a request with an unsupported media-type is made.
- UnsupportedMediaTypeException.Builder - Class in org.eclipse.ditto.model.base.exceptions
-
A mutable builder with a fluent API for a
UnsupportedMediaTypeException
. - UPGRADE_REQUIRED - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server refuses to perform the request using the current protocol but might be willing to do so after the client upgrades to a different protocol.
- URI_PATH_SEGMENT - Static variable in class org.eclipse.ditto.model.base.entity.id.RegexPatterns
-
First part of an entity name.
- URI_PATH_SEGMENT_INCLUDING_DOLLAR - Static variable in class org.eclipse.ditto.model.base.entity.id.RegexPatterns
-
Second part of an entity name: This part allows the $ symbol.
- URL_ESCAPES - Static variable in class org.eclipse.ditto.model.base.entity.id.RegexPatterns
-
Regex pattern that matches URL escapes.
- USE_PROXY - org.eclipse.ditto.model.base.common.HttpStatusCode
-
Defined in a previous version of this specification and is now deprecated, due to security concerns regarding in-band configuration of a proxy.
V
- V_1 - org.eclipse.ditto.model.base.json.JsonSchemaVersion
-
Deprecated.deprecated API version 1. Use API version 2 instead.
- V_2 - org.eclipse.ditto.model.base.json.JsonSchemaVersion
-
Version 2 of JSON schema.
- valid() - Static method in class org.eclipse.ditto.model.base.common.BinaryValidationResult
-
Creates an instance of a valid validation result.
- validateValue(CharSequence) - Method in enum org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
- validateValue(CharSequence) - Method in interface org.eclipse.ditto.model.base.headers.HeaderDefinition
-
Checks if the specified CharSequence is a valid representation of the Java type of this definition.
- validateValue(HeaderDefinition, CharSequence) - Method in class org.eclipse.ditto.model.base.headers.AbstractHeaderValueValidator
-
Validates the given value with regards to the given header definition.
- validateValueType(CharSequence, CharSequence) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
- validateValueTypes(Map<String, String>, Collection<? extends HeaderDefinition>) - Method in class org.eclipse.ditto.model.base.headers.AbstractDittoHeadersBuilder
-
Validates the values of the specified headers with the help of the specified definitions.
- Validator - Interface in org.eclipse.ditto.model.base.common
-
This interface represents a general purpose validator.
- valueOf(String) - Static method in enum org.eclipse.ditto.model.base.common.HttpStatusCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.eclipse.ditto.model.base.json.FieldType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.eclipse.ditto.model.base.json.JsonSchemaVersion
-
Returns the enum constant of this type with the specified name.
- values() - Static method in class org.eclipse.ditto.model.base.acks.DittoAcknowledgementLabel
-
Returns an array containing the Ditto acknowledgement labels, in the order they're declared.
- values() - Static method in class org.eclipse.ditto.model.base.auth.DittoAuthorizationContextType
-
Returns an array containing the Ditto specified
AuthorizationContextType
s. - values() - Static method in enum org.eclipse.ditto.model.base.common.HttpStatusCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.eclipse.ditto.model.base.json.FieldType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.eclipse.ditto.model.base.json.JsonSchemaVersion
-
Returns an array containing the constants of this enum type, in the order they are declared.
- ValueValidator - Interface in org.eclipse.ditto.model.base.headers
-
A validator for a header value.
- VARIANT_ALSO_NEGOTIATES - org.eclipse.ditto.model.base.common.HttpStatusCode
-
The server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process.
W
- weak(String) - Static method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTag
-
Creates a weak entity-tag with the given
opaqueTag
. - weakCompareTo(EntityTag) - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTag
-
Implements weak comparison based on RFC 7232
- weakMatch(EntityTag) - Method in class org.eclipse.ditto.model.base.headers.entitytag.EntityTagMatcher
-
Matches this
EntityTagMatcher
to the givenentityTagToMatch
. - withDetailedInformationBuilder(String, Set<String>) - Static method in exception org.eclipse.ditto.model.base.exceptions.UnsupportedMediaTypeException
-
A mutable builder for a
UnsupportedMediaTypeException
where the message contains detailed information about the actual used media-type and the description information about media-types are supported for the requested resource. - WithDittoHeaders<T extends WithDittoHeaders> - Interface in org.eclipse.ditto.model.base.headers
-
Common interface for all classes which have
DittoHeaders
available. - WithEntityType - Interface in org.eclipse.ditto.model.base.entity.type
-
This interface provides a uniform way to get the
EntityType
. - WithManifest - Interface in org.eclipse.ditto.model.base.headers
-
Common interface for all classes which have a manifest string available.
- wrapJsonRuntimeException(Function<I, T>, I) - Static method in exception org.eclipse.ditto.model.base.exceptions.DittoJsonException
-
Executes the given Function.
- wrapJsonRuntimeException(Supplier<T>) - Static method in exception org.eclipse.ditto.model.base.exceptions.DittoJsonException
-
Executes the given Supplier.
- wrapJsonRuntimeException(T, DittoHeaders, BiFunction<T, DittoHeaders, R>) - Static method in exception org.eclipse.ditto.model.base.exceptions.DittoJsonException
-
Executes the given Function with the given argument and DittoHeaders.
- WWW_AUTHENTICATE - org.eclipse.ditto.model.base.headers.DittoHeaderDefinition
-
Header definition for the response header defining which authentication method that should be used to gain access to a resource
All Classes All Packages