T - The middleware type.public static interface FlightServerMiddleware.Factory<T extends FlightServerMiddleware>
| Modifier and Type | Method and Description |
|---|---|
T |
onCallStarted(CallInfo info,
CallHeaders incomingHeaders,
RequestContext context)
A callback for when the call starts.
|
T onCallStarted(CallInfo info, CallHeaders incomingHeaders, RequestContext context)
info - Details about the call.incomingHeaders - A mutable set of request headers.context - Context about the current request.FlightRuntimeException - if the middleware wants to reject the call with the given statusCopyright © 2024 The Apache Software Foundation. All rights reserved.