Class QueryIdHeaderInterceptor
- java.lang.Object
-
- com.salesforce.datacloud.jdbc.interceptor.QueryIdHeaderInterceptor
-
- All Implemented Interfaces:
HeaderMutatingClientInterceptor,io.grpc.ClientInterceptor
public class QueryIdHeaderInterceptor extends Object
-
-
Constructor Summary
Constructors Constructor Description QueryIdHeaderInterceptor(@NonNull String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.grpc.Metadata.Key<String>getKey()@NonNull StringgetValue()voidmutate(io.grpc.Metadata headers)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.salesforce.datacloud.jdbc.interceptor.HeaderMutatingClientInterceptor
interceptCall
-
-
-
-
Field Detail
-
key
public final io.grpc.Metadata.Key<String> key
-
-
Constructor Detail
-
QueryIdHeaderInterceptor
public QueryIdHeaderInterceptor(@NonNull @NonNull String value)
-
-
Method Detail
-
mutate
public void mutate(io.grpc.Metadata headers)
- Specified by:
mutatein interfaceHeaderMutatingClientInterceptor
-
getKey
public io.grpc.Metadata.Key<String> getKey()
-
getValue
@NonNull public @NonNull String getValue()
-
-