Uses of Interface
io.fluxcapacitor.javaclient.tracking.handling.Request
Packages that use Request
Package
Description
-
Uses of Request in io.fluxcapacitor.javaclient
Methods in io.fluxcapacitor.javaclient with parameters of type RequestModifier and TypeMethodDescriptionstatic <R> CompletableFuture
<R> Sends the given query and returns a future that will be completed with the query's result.static <R> CompletableFuture
<R> Sends a query with given payload and metadata and returns a future that will be completed with the query's result.static <R> R
FluxCapacitor.queryAndWait
(Request<R> query) Sends the given query and returns the query's result.static <R> R
FluxCapacitor.queryAndWait
(Request<R> payload, Metadata metadata) Sends a query with given payload and metadata and returns the query's result.static <R> CompletableFuture
<R> FluxCapacitor.sendCommand
(Request<R> command) Sends the given command and returns a future that will be completed with the command's result.static <R> CompletableFuture
<R> FluxCapacitor.sendCommand
(Request<R> payload, Metadata metadata) Sends a command with given payload and metadata and returns a future that will be completed with the command's result.static <R> R
FluxCapacitor.sendCommandAndWait
(Request<R> command) Sends the given command and returns the command's result.static <R> R
FluxCapacitor.sendCommandAndWait
(Request<R> payload, Metadata metadata) Sends a command with given payload and metadata and returns a future that will be completed with the command's result. -
Uses of Request in io.fluxcapacitor.javaclient.publishing
Methods in io.fluxcapacitor.javaclient.publishing with parameters of type RequestModifier and TypeMethodDescription<R> CompletableFuture
<R> Sends a typed request command and returns a future for the result.<R> CompletableFuture
<R> Sends a typed request command with metadata and returns a future for the result.default <R> CompletableFuture
<R> Sends aRequest
message and returns a future with its typed response.default <R> CompletableFuture
<R> Sends aRequest
with metadata and returns a future with its response.<R> CompletableFuture
<R> Sends a typedRequest
query and returns a future representing the result.<R> CompletableFuture
<R> Sends a typedRequest
query with additional metadata and returns a future with the result.<R> R
CommandGateway.sendAndWait
(Request<R> query) Sends a typed request command and waits for the result.<R> R
CommandGateway.sendAndWait
(Request<R> payload, Metadata metadata) Sends a typed request command with metadata and waits for the result.default <R> R
GenericGateway.sendAndWait
(Request<R> message) Sends aRequest
and blocks until a response is received.default <R> R
GenericGateway.sendAndWait
(Request<R> payload, Metadata metadata) Sends aRequest
with metadata and blocks for a response.<R> R
QueryGateway.sendAndWait
(Request<R> query) Sends a typedRequest
query and waits for the result.<R> R
QueryGateway.sendAndWait
(Request<R> payload, Metadata metadata) Sends a typedRequest
query with metadata and waits for the result. -
Uses of Request in io.fluxcapacitor.javaclient.web
Methods in io.fluxcapacitor.javaclient.web with parameters of type RequestModifier and TypeMethodDescription<R> CompletionStage
<R> DefaultSocketSession.sendRequest
(Request<R> request, Duration timeout) default <R> CompletionStage
<R> SocketSession.sendRequest
(Request<R> request) Sends a request and returns aCompletionStage
representing the pending result.<R> CompletionStage
<R> SocketSession.sendRequest
(Request<R> request, Duration timeout) Sends a request over the WebSocket session with a specified timeout duration.