Package org.apache.arrow.flight.auth2
Class ClientBearerHeaderHandler
java.lang.Object
org.apache.arrow.flight.auth2.ClientBearerHeaderHandler
- All Implemented Interfaces:
ClientHeaderHandler
A client header handler that parses the incoming headers for a bearer token.
-
Field Summary
Fields inherited from interface org.apache.arrow.flight.auth2.ClientHeaderHandler
NO_OP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCredentialCallOptionFromIncomingHeaders
(CallHeaders incomingHeaders) Parses the incoming headers and converts them into a CredentialCallOption.
-
Constructor Details
-
ClientBearerHeaderHandler
public ClientBearerHeaderHandler()
-
-
Method Details
-
getCredentialCallOptionFromIncomingHeaders
Description copied from interface:ClientHeaderHandler
Parses the incoming headers and converts them into a CredentialCallOption.- Specified by:
getCredentialCallOptionFromIncomingHeaders
in interfaceClientHeaderHandler
- Parameters:
incomingHeaders
- Incoming headers to parse.- Returns:
- An instance of CredentialCallOption.
-