Package org.axonframework.messaging.responsetypes
package org.axonframework.messaging.responsetypes
-
ClassDescriptionAbstract implementation of the
ResponseTypewhich contains match functions for the majority of theTypeoptions available.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.AResponseTypeimplementation that will match with query handlers which return a single instance of the expected response type.AResponseTypeimplementation that will match with query handlers which return a multiple instances of the expected response type.AResponseTypeimplementation 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.AResponseTypeimplementation that will match with query handlers that return aPublisherstream of the expected response type.ResponseType<R>Specifies the expected response type required when performing a query through theQueryBus/QueryGateway.Utility class containing static methods to obtain instances ofResponseType.