public static interface FlightProducer.CallContext
Modifier and Type | Method and Description |
---|---|
Map<FlightServerMiddleware.Key<?>,FlightServerMiddleware> |
getMiddleware()
Get an immutable map of middleware for this call.
|
<T extends FlightServerMiddleware> |
getMiddleware(FlightServerMiddleware.Key<T> key)
Get the middleware instance of the given type for this call.
|
boolean |
isCancelled()
Whether the call has been cancelled by the client.
|
String |
peerIdentity()
The identity of the authenticated peer.
|
String peerIdentity()
boolean isCancelled()
<T extends FlightServerMiddleware> T getMiddleware(FlightServerMiddleware.Key<T> key)
Returns null if not found.
Map<FlightServerMiddleware.Key<?>,FlightServerMiddleware> getMiddleware()
Copyright © 2023 The Apache Software Foundation. All rights reserved.