Module org.apache.arrow.flight.core
Package org.apache.arrow.flight
Interface FlightClientMiddleware.Factory
- All Known Implementing Classes:
ClientCookieMiddleware.Factory
,ClientIncomingAuthHeaderMiddleware.Factory
- Enclosing interface:
- FlightClientMiddleware
public static interface FlightClientMiddleware.Factory
A factory for client middleware instances.
-
Method Summary
Modifier and TypeMethodDescriptiononCallStarted
(CallInfo info) Create a new middleware instance for the given call.
-
Method Details
-
onCallStarted
Create a new middleware instance for the given call.- Throws:
FlightRuntimeException
- if the middleware wants to reject the call with the given status
-