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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA factory for client middleware instances. -
Method Summary
Modifier and TypeMethodDescriptionvoidonBeforeSendingHeaders(CallHeaders outgoingHeaders) A callback used before request headers are sent.voidonCallCompleted(CallStatus status) A callback called after the call completes.voidonHeadersReceived(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.
-