public static class ServerCallHeaderAuthMiddleware.Factory extends Object implements FlightServerMiddleware.Factory<ServerCallHeaderAuthMiddleware>
| Constructor and Description |
|---|
Factory(CallHeaderAuthenticator authHandler)
Construct a factory with the given auth handler.
|
| Modifier and Type | Method and Description |
|---|---|
ServerCallHeaderAuthMiddleware |
onCallStarted(CallInfo callInfo,
CallHeaders incomingHeaders,
RequestContext context)
A callback for when the call starts.
|
public Factory(CallHeaderAuthenticator authHandler)
authHandler - The auth handler what will be used for authenticating requests.public ServerCallHeaderAuthMiddleware onCallStarted(CallInfo callInfo, CallHeaders incomingHeaders, RequestContext context)
FlightServerMiddleware.FactoryonCallStarted in interface FlightServerMiddleware.Factory<ServerCallHeaderAuthMiddleware>callInfo - Details about the call.incomingHeaders - A mutable set of request headers.context - Context about the current request.Copyright © 2024 The Apache Software Foundation. All rights reserved.