Interface | Description |
---|---|
ResponseType<R> |
Specifies the expected response type required when performing a query through the
QueryBus /QueryGateway . |
Class | Description |
---|---|
AbstractResponseType<R> |
Abstract implementation of the
ResponseType which contains
match functions for the majority of the Type options available. |
ConvertingResponseMessage<R> |
Implementation of a QueryResponseMessage that is aware of the requested response type and performs a just-in-time
conversion to ensure the response is formatted as requested.
|
InstanceResponseType<R> |
A
ResponseType implementation that will match with query
handlers which return a single instance of the expected response type. |
MultipleInstancesResponseType<R> |
A
ResponseType implementation that will match with query
handlers which return a multiple instances of the expected response type. |
OptionalResponseType<R> |
A
ResponseType implementation that will match with query
handlers which return a single instance of the expected response type, but returns that as an Optional containing
the result. |
ResponseTypes |
Utility class containing static methods to obtain instances of
ResponseType . |
Copyright © 2010–2022. All rights reserved.