RouteIdentity
class RouteIdentity(val pathVariables: Set<String>, val aliases: IdentityHeaderAliases = IdentityHeaderAliases.NONE, aggregateRouteMetadata: AggregateRouteMetadata<*>? = null)
The identity side of one materialized route: its declared identity path variables, the header aliases, and, for a route of one aggregate, that aggregate's RouteIdentityBinding, computed once. Carried to the handlers as a request attribute; a handler of another aggregate (the command facade) gets a binding computed from the same path variables.
Constructors
Link copied to clipboard
constructor(pathVariables: Set<String>, aliases: IdentityHeaderAliases = IdentityHeaderAliases.NONE, aggregateRouteMetadata: AggregateRouteMetadata<*>? = null)