public class DefaultGrpcClientMetadata extends java.lang.Object implements GrpcClientMetadata
DefaultGrpcClientMetadata
.Modifier | Constructor and Description |
---|---|
protected |
DefaultGrpcClientMetadata(java.lang.String path)
Creates a new instance.
|
protected |
DefaultGrpcClientMetadata(java.lang.String path,
GrpcExecutionStrategy strategy)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
path()
Returns the path for the associated gRPC method.
|
GrpcExecutionStrategy |
strategy()
GrpcExecutionStrategy to use for the associated
gRPC method. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
path
protected DefaultGrpcClientMetadata(java.lang.String path)
path
- for the associated gRPC method.protected DefaultGrpcClientMetadata(java.lang.String path, GrpcExecutionStrategy strategy)
path
- for the associated gRPC method.strategy
- GrpcExecutionStrategy
to use for the associated gRPC
method.public final GrpcExecutionStrategy strategy()
GrpcClientMetadata
GrpcExecutionStrategy
to use for the associated
gRPC method.strategy
in interface GrpcClientMetadata
GrpcExecutionStrategy
to use for the associated
gRPC method.public java.lang.String path()
GrpcMetadata
path
in interface GrpcMetadata