Module org.apache.arrow.flight.core
Package org.apache.arrow.flight
Interface FlightClientMiddleware
- All Known Implementing Classes:
ClientCookieMiddleware
,ClientIncomingAuthHeaderMiddleware
public interface FlightClientMiddleware
Client-side middleware for Flight.
Middleware are instantiated per-call and should store state in the middleware instance.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A factory for client middleware instances. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onBeforeSendingHeaders
(CallHeaders outgoingHeaders) A callback used before request headers are sent.void
onCallCompleted
(CallStatus status) A callback called after the call completes.void
onHeadersReceived
(CallHeaders incomingHeaders) A callback called after response headers are received.
-
Method Details
-
onBeforeSendingHeaders
A callback used before request headers are sent. The headers may be manipulated. -
onHeadersReceived
A callback called after response headers are received. The headers may be manipulated. -
onCallCompleted
A callback called after the call completes.
-