Package org.apache.arrow.flight.auth2
Class ClientIncomingAuthHeaderMiddleware.Factory
java.lang.Object
org.apache.arrow.flight.auth2.ClientIncomingAuthHeaderMiddleware.Factory
- All Implemented Interfaces:
FlightClientMiddleware.Factory
- Enclosing class:
- ClientIncomingAuthHeaderMiddleware
public static class ClientIncomingAuthHeaderMiddleware.Factory
extends Object
implements FlightClientMiddleware.Factory
Factory used within FlightClient.
-
Constructor Summary
ConstructorDescriptionFactory
(ClientHeaderHandler headerHandler) Construct a factory with the given header handler. -
Method Summary
Modifier and TypeMethodDescriptiononCallStarted
(CallInfo info) Create a new middleware instance for the given call.
-
Constructor Details
-
Factory
Construct a factory with the given header handler.- Parameters:
headerHandler
- The header handler that will be used for handling incoming headers from the flight server.
-
-
Method Details
-
onCallStarted
Description copied from interface:FlightClientMiddleware.Factory
Create a new middleware instance for the given call.- Specified by:
onCallStarted
in interfaceFlightClientMiddleware.Factory
-
getCredentialCallOption
-