@InternalApi(value="For internal usage only") public class HeaderInterceptor extends Object implements io.grpc.ClientInterceptor
For internal use only - public for technical reasons.
Constructor and Description |
---|
HeaderInterceptor(io.grpc.Metadata.Key<String> key,
String defaultValue)
Constructor for GoogleCloudResourcePrefixInterceptor.
|
Modifier and Type | Method and Description |
---|---|
<ReqT,RespT> |
interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> method,
io.grpc.CallOptions callOptions,
io.grpc.Channel next) |
String |
toString() |
void |
updateHeaders(io.grpc.Metadata headers) |
public <ReqT,RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next)
interceptCall
in interface io.grpc.ClientInterceptor
public void updateHeaders(io.grpc.Metadata headers)