Uses of Interface
io.fluxzero.sdk.tracking.handling.Request

Packages that use Request
  • Uses of Request in io.fluxzero.sdk

    Methods in io.fluxzero.sdk with parameters of type Request
    Modifier and Type
    Method
    Description
    static <R> CompletableFuture<R>
    Fluxzero.query(Request<R> query)
    Sends the given query and returns a future that will be completed with the query's result.
    static <R> CompletableFuture<R>
    Fluxzero.query(Request<R> payload, io.fluxzero.common.api.Metadata metadata)
    Sends a query with given payload and metadata and returns a future that will be completed with the query's result.
    static <R> CompletableFuture<R>
    Fluxzero.query(Request<R> payload, io.fluxzero.common.api.Metadata metadata, io.fluxzero.common.Guarantee guarantee)
    Uses the given publication guarantee for this request; completion still represents its business response.
    static <R> R
    Fluxzero.queryAndWait(Request<R> query)
    Sends the given query and returns the query's result.
    static <R> R
    Fluxzero.queryAndWait(Request<R> payload, io.fluxzero.common.api.Metadata metadata)
    Sends a query with given payload and metadata and returns the query's result.
    static <R> R
    Fluxzero.queryAndWait(Request<R> payload, io.fluxzero.common.api.Metadata metadata, io.fluxzero.common.Guarantee guarantee)
    Uses the given publication guarantee for this request; completion still represents its business response.
    static <R> CompletableFuture<R>
    Fluxzero.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>
    Fluxzero.sendCommand(Request<R> payload, io.fluxzero.common.api.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> CompletableFuture<R>
    Fluxzero.sendCommand(Request<R> payload, io.fluxzero.common.api.Metadata metadata, io.fluxzero.common.Guarantee guarantee)
    Uses the given publication guarantee for this request; completion still represents its business response.
    static <R> R
    Fluxzero.sendCommandAndWait(Request<R> command)
    Sends the given command and returns the command's result.
    static <R> R
    Fluxzero.sendCommandAndWait(Request<R> payload, io.fluxzero.common.api.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
    Fluxzero.sendCommandAndWait(Request<R> payload, io.fluxzero.common.api.Metadata metadata, io.fluxzero.common.Guarantee guarantee)
    Uses the given publication guarantee for this request; completion still represents its business response.
  • Uses of Request in io.fluxzero.sdk.publishing

    Methods in io.fluxzero.sdk.publishing with parameters of type Request
    Modifier and Type
    Method
    Description
    CommandGateway.send(Request<R> query)
    Sends a typed request command and returns a future for the result.
    CommandGateway.send(Request<R> payload, io.fluxzero.common.api.Metadata metadata)
    Sends a typed request command with metadata and returns a future for the result.
    default <R> CompletableFuture<R>
    CommandGateway.send(Request<R> payload, io.fluxzero.common.api.Metadata metadata, io.fluxzero.common.Guarantee guarantee)
    Sends a typed request with a per-call publication guarantee and returns its business response future.
    DefaultCommandGateway.send(Request<R> payload, io.fluxzero.common.api.Metadata metadata, io.fluxzero.common.Guarantee guarantee)
     
    DefaultQueryGateway.send(Request<R> payload, io.fluxzero.common.api.Metadata metadata, io.fluxzero.common.Guarantee guarantee)
     
    default <R> CompletableFuture<R>
    GenericGateway.send(Request<R> message)
    Sends a Request message and returns a future with its typed response.
    default <R> CompletableFuture<R>
    GenericGateway.send(Request<R> payload, io.fluxzero.common.api.Metadata metadata)
    Sends a Request with metadata and returns a future with its response.
    default <R> CompletableFuture<R>
    GenericGateway.send(Request<R> payload, io.fluxzero.common.api.Metadata metadata, io.fluxzero.common.Guarantee guarantee)
    Sends a typed request with a per-call publication guarantee and returns its business response future.
    QueryGateway.send(Request<R> query)
    Sends a typed Request query and returns a future representing the result.
    QueryGateway.send(Request<R> payload, io.fluxzero.common.api.Metadata metadata)
    Sends a typed Request query with additional metadata and returns a future with the result.
    default <R> CompletableFuture<R>
    QueryGateway.send(Request<R> payload, io.fluxzero.common.api.Metadata metadata, io.fluxzero.common.Guarantee guarantee)
    Sends a typed request with a per-call publication guarantee and returns its business response future.
    <R> R
    CommandGateway.sendAndWait(Request<R> query)
    Sends a typed request command and waits for the result.
    <R> R
    CommandGateway.sendAndWait(Request<R> payload, io.fluxzero.common.api.Metadata metadata)
    Sends a typed request command with metadata and waits for the result.
    default <R> R
    CommandGateway.sendAndWait(Request<R> payload, io.fluxzero.common.api.Metadata metadata, io.fluxzero.common.Guarantee guarantee)
    Sends a typed request with a per-call publication guarantee and waits for its business response.
    <R> R
    DefaultCommandGateway.sendAndWait(Request<R> payload, io.fluxzero.common.api.Metadata metadata, io.fluxzero.common.Guarantee guarantee)
     
    <R> R
    DefaultQueryGateway.sendAndWait(Request<R> payload, io.fluxzero.common.api.Metadata metadata, io.fluxzero.common.Guarantee guarantee)
     
    default <R> R
    GenericGateway.sendAndWait(Request<R> message)
    Sends a Request and blocks until a response is received.
    default <R> R
    GenericGateway.sendAndWait(Request<R> payload, io.fluxzero.common.api.Metadata metadata)
    Sends a Request with metadata and blocks for a response.
    default <R> R
    GenericGateway.sendAndWait(Request<R> payload, io.fluxzero.common.api.Metadata metadata, io.fluxzero.common.Guarantee guarantee)
    Sends a typed request with a per-call publication guarantee and waits for its business response.
    <R> R
    QueryGateway.sendAndWait(Request<R> query)
    Sends a typed Request query and waits for the result.
    <R> R
    QueryGateway.sendAndWait(Request<R> payload, io.fluxzero.common.api.Metadata metadata)
    Sends a typed Request query with metadata and waits for the result.
    default <R> R
    QueryGateway.sendAndWait(Request<R> payload, io.fluxzero.common.api.Metadata metadata, io.fluxzero.common.Guarantee guarantee)
    Sends a typed request with a per-call publication guarantee and waits for its business response.
  • Uses of Request in io.fluxzero.sdk.web

    Methods in io.fluxzero.sdk.web with parameters of type Request
    Modifier and Type
    Method
    Description
    DefaultSocketSession.sendRequest(Request<R> request, Duration timeout)
     
    default <R> CompletionStage<R>
    SocketSession.sendRequest(Request<R> request)
    Sends a request and returns a CompletionStage representing the pending result.
    SocketSession.sendRequest(Request<R> request, Duration timeout)
    Sends a request over the WebSocket session with a specified timeout duration.