com.google.cloud.bigtable.grpc.io
Class GoogleCloudResourcePrefixInterceptor
- java.lang.Object
-
- com.google.cloud.bigtable.grpc.io.HeaderInterceptor
-
- com.google.cloud.bigtable.grpc.io.GoogleCloudResourcePrefixInterceptor
-
- All Implemented Interfaces:
- io.grpc.ClientInterceptor
public class GoogleCloudResourcePrefixInterceptor extends HeaderInterceptor
Adds a header ("google-cloud-resource-prefix") that usually contains a fully qualified instance or table name.- Since:
- 0.9.2
- Version:
- $Id: $Id
- Author:
- sduskis
-
-
Field Summary
Fields Modifier and Type Field and Description static io.grpc.Metadata.Key<String>
GRPC_RESOURCE_PREFIX_KEY
ConstantGRPC_RESOURCE_PREFIX_KEY
-
Constructor Summary
Constructors Constructor and Description GoogleCloudResourcePrefixInterceptor(String defaultValue)
Constructor for GoogleCloudResourcePrefixInterceptor.
-
Method Summary
-
Methods inherited from class com.google.cloud.bigtable.grpc.io.HeaderInterceptor
interceptCall, toString, updateHeaders
-
-
-
-
Field Detail
-
GRPC_RESOURCE_PREFIX_KEY
public static final io.grpc.Metadata.Key<String> GRPC_RESOURCE_PREFIX_KEY
ConstantGRPC_RESOURCE_PREFIX_KEY
-
-