CommandRequest

data class CommandRequest(val body: Any, val waitPlan: CommandRequest.WaitPlan = WaitPlan(), val aggregateId: String? = null, val aggregateVersion: Int? = null, val tenantId: String? = null, val ownerId: String? = null, val spaceId: SpaceId? = null, val requestId: String? = null, val localFirst: Boolean? = null, val context: String? = null, val aggregate: String? = null, val serviceUri: String? = null, val type: String? = null)

Constructors

Link copied to clipboard
constructor(body: Any, waitPlan: CommandRequest.WaitPlan = WaitPlan(), aggregateId: String? = null, aggregateVersion: Int? = null, tenantId: String? = null, ownerId: String? = null, spaceId: SpaceId? = null, requestId: String? = null, localFirst: Boolean? = null, context: String? = null, aggregate: String? = null, serviceUri: String? = null, type: String? = null)

Types

Link copied to clipboard
data class WaitPlan(val waitStage: CommandStage = CommandStage.PROCESSED, val waitContext: String? = null, val waitProcessor: String? = null, val waitTimeout: Long? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val body: Any
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: String?
Link copied to clipboard

Functions

Link copied to clipboard

The headers of this command request, as one value: the same headers the @RequestHeader parameters of RestCommandGateway.send send, one entry per header that has a value.

Link copied to clipboard