Package io.fluxcapacitor.common.api
Class Request
java.lang.Object
io.fluxcapacitor.common.api.Request
- All Implemented Interfaces:
JsonType
- Direct Known Subclasses:
Command
,GetAggregateIds
,GetDocument
,GetDocumentStats
,GetEvents
,GetFacetStats
,GetPosition
,GetRelationships
,GetSchedule
,GetSearchHistogram
,GetValue
,HasDocument
,Read
,ReadFromIndex
,SearchDocuments
Base class for requests sent to the Flux platform.
Each Request
is automatically assigned a unique requestId
to correlate it with its corresponding
RequestResult
. This identifier is useful for tracing, debugging, and performance monitoring.
All requests implement JsonType
, allowing them to optionally define a custom JsonType.toMetric()
representation for metrics logging.
Subclasses of this abstract class typically include payloads such as SearchDocuments
,
GetDocument
, GetFacetStats
, etc.
- See Also:
-
Constructor Details
-
Request
public Request()
-