Package org.apache.arrow.flight.auth
Class ClientAuthInterceptor
java.lang.Object
org.apache.arrow.flight.auth.ClientAuthInterceptor
- All Implemented Interfaces:
io.grpc.ClientInterceptor
GRPC client intercepter that handles authentication with the server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
<ReqT,
RespT>
io.grpc.ClientCall<ReqT,RespT> interceptCall
(io.grpc.MethodDescriptor<ReqT, RespT> methodDescriptor, io.grpc.CallOptions callOptions, io.grpc.Channel next) void
setAuthHandler
(ClientAuthHandler authHandler)
-
Constructor Details
-
ClientAuthInterceptor
public ClientAuthInterceptor()
-
-
Method Details
-
setAuthHandler
-
hasAuthHandler
public boolean hasAuthHandler() -
interceptCall
public <ReqT,RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT, RespT> methodDescriptor, io.grpc.CallOptions callOptions, io.grpc.Channel next) - Specified by:
interceptCall
in interfaceio.grpc.ClientInterceptor
-