Interface ErrorResponseAdapter<T extends org.eclipse.ditto.signals.commands.base.ErrorResponse<?>>

  • Type Parameters:
    T - the type mapped by this Adapter.
    All Superinterfaces:
    Adapter<T>
    All Known Implementing Classes:
    AbstractErrorResponseAdapter

    public interface ErrorResponseAdapter<T extends org.eclipse.ditto.signals.commands.base.ErrorResponse<?>>
    extends Adapter<T>
    An Adapter mixin for error responses.
    Since:
    1.1.0
    • Method Detail

      • getCriteria

        default Set<TopicPath.Criterion> getCriteria()
        Description copied from interface: Adapter
        Retrieve the set of criteria supported by this adapter.
        Specified by:
        getCriteria in interface Adapter<T extends org.eclipse.ditto.signals.commands.base.ErrorResponse<?>>
        Returns:
        the supported criteria.
      • getActions

        default Set<TopicPath.Action> getActions()
        Description copied from interface: Adapter
        Retrieve the set of actions supported by this adapter.
        Specified by:
        getActions in interface Adapter<T extends org.eclipse.ditto.signals.commands.base.ErrorResponse<?>>
        Returns:
        the set of actions.
      • isForResponses

        default boolean isForResponses()
        Description copied from interface: Adapter
        Retrieve whether this adapter is for responses.
        Specified by:
        isForResponses in interface Adapter<T extends org.eclipse.ditto.signals.commands.base.ErrorResponse<?>>
        Returns:
        whether this adapter is for responses.