GoogleCloudResourcePrefixInterceptor (Cloud Bigtable HBase Client for Java 1.12.0 API)

com.google.cloud.bigtable.grpc.io

Class 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 Detail

      • GRPC_RESOURCE_PREFIX_KEY

        public static final io.grpc.Metadata.Key<String> GRPC_RESOURCE_PREFIX_KEY
        Constant GRPC_RESOURCE_PREFIX_KEY
    • Constructor Detail

      • GoogleCloudResourcePrefixInterceptor

        public GoogleCloudResourcePrefixInterceptor(String defaultValue)
        Constructor for GoogleCloudResourcePrefixInterceptor.
        Parameters:
        defaultValue - a String object.