public static class ClientIncomingAuthHeaderMiddleware.Factory extends Object implements FlightClientMiddleware.Factory
Constructor and Description |
---|
Factory(ClientHeaderHandler headerHandler)
Construct a factory with the given header handler.
|
Modifier and Type | Method and Description |
---|---|
CredentialCallOption |
getCredentialCallOption() |
FlightClientMiddleware |
onCallStarted(CallInfo info)
Create a new middleware instance for the given call.
|
public Factory(ClientHeaderHandler headerHandler)
headerHandler
- The header handler that will be used for handling incoming headers from the flight server.public FlightClientMiddleware onCallStarted(CallInfo info)
FlightClientMiddleware.Factory
onCallStarted
in interface FlightClientMiddleware.Factory
public CredentialCallOption getCredentialCallOption()
Copyright © 2023 The Apache Software Foundation. All rights reserved.