Interface FlightProducer.CallContext

Enclosing interface:

public static interface FlightProducer.CallContext
Call-specific context.
  • Method Details

    • peerIdentity

      String peerIdentity()
      The identity of the authenticated peer. May be the empty string if unknown.
    • isCancelled

      boolean isCancelled()
      Whether the call has been cancelled by the client.
    • getMiddleware

      <T extends FlightServerMiddleware> T getMiddleware(FlightServerMiddleware.Key<T> key)
      Get the middleware instance of the given type for this call.

      Returns null if not found.

    • getMiddleware

      Get an immutable map of middleware for this call.