Package org.apache.arrow.flight.auth2
Interface ClientHeaderHandler
- All Known Implementing Classes:
ClientBearerHeaderHandler
public interface ClientHeaderHandler
Interface for client side header parsing and conversion to CredentialCallOption.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ClientHeaderHandler
An client header handler that does nothing. -
Method Summary
Modifier and TypeMethodDescriptiongetCredentialCallOptionFromIncomingHeaders
(CallHeaders incomingHeaders) Parses the incoming headers and converts them into a CredentialCallOption.
-
Field Details
-
NO_OP
An client header handler that does nothing.
-
-
Method Details
-
getCredentialCallOptionFromIncomingHeaders
Parses the incoming headers and converts them into a CredentialCallOption.- Parameters:
incomingHeaders
- Incoming headers to parse.- Returns:
- An instance of CredentialCallOption.
-