Interface FlightServerMiddleware.Factory<T extends FlightServerMiddleware>

Type Parameters:
T - The middleware type.
All Known Implementing Classes:
ServerCallHeaderAuthMiddleware.Factory, ServerHeaderMiddleware.Factory, ServerSessionMiddleware.Factory
Enclosing interface:

public static interface FlightServerMiddleware.Factory<T extends FlightServerMiddleware>
A factory for Flight server middleware.
  • Method Details

    • onCallStarted

      T onCallStarted(CallInfo info, CallHeaders incomingHeaders, RequestContext context)
      A callback for when the call starts.
      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 status