Interface ErrorResponseAdapter<T extends org.eclipse.ditto.signals.commands.base.ErrorResponse<?>>
-
- Type Parameters:
T
- the type mapped by thisAdapter
.
- All Superinterfaces:
Adapter<T>
- All Known Implementing Classes:
AbstractErrorResponseAdapter
public interface ErrorResponseAdapter<T extends org.eclipse.ditto.signals.commands.base.ErrorResponse<?>> extends Adapter<T>
AnAdapter
mixin for error responses.- Since:
- 1.1.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Set<TopicPath.Action>
getActions()
Retrieve the set of actions supported by this adapter.default Set<TopicPath.Criterion>
getCriteria()
Retrieve the set of criteria supported by this adapter.default boolean
isForResponses()
Retrieve whether this adapter is for responses.-
Methods inherited from interface org.eclipse.ditto.protocoladapter.Adapter
fromAdaptable, getChannels, getGroups, getSearchActions, requiresSubject, toAdaptable, toAdaptable
-
-
-
-
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 interfaceAdapter<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 interfaceAdapter<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 interfaceAdapter<T extends org.eclipse.ditto.signals.commands.base.ErrorResponse<?>>
- Returns:
- whether this adapter is for responses.
-
-