public interface FlightClientMiddleware
Middleware are instantiated per-call and should store state in the middleware instance.
Modifier and Type | Interface and Description |
---|---|
static interface |
FlightClientMiddleware.Factory
A factory for client middleware instances.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
void onBeforeSendingHeaders(CallHeaders outgoingHeaders)
void onHeadersReceived(CallHeaders incomingHeaders)
void onCallCompleted(CallStatus status)
Copyright © 2023 The Apache Software Foundation. All rights reserved.