Package | Description |
---|---|
io.grpc |
The gRPC core public API.
|
Modifier and Type | Field and Description |
---|---|
static Attributes.Key<String> |
CallCredentials.ATTR_AUTHORITY
The authority string used to authenticate the server.
|
static Attributes.Key<SecurityLevel> |
CallCredentials.ATTR_SECURITY_LEVEL
The security level of the transport.
|
static Attributes.Key<Integer> |
NameResolver.Factory.PARAMS_DEFAULT_PORT
The port number used in case the target or the underlying naming system doesn't provide a
port number.
|
static Attributes.Key<Integer> |
NameResolverProvider.PARAMS_DEFAULT_PORT
The port number used in case the target or the underlying naming system doesn't provide a
port number.
|
static Attributes.Key<SocketAddress> |
Grpc.TRANSPORT_ATTR_REMOTE_ADDR
Attribute key for the remote address of a transport.
|
static Attributes.Key<SSLSession> |
Grpc.TRANSPORT_ATTR_SSL_SESSION
Attribute key for SSL session of a transport.
|
Modifier and Type | Method and Description |
---|---|
static <T> Attributes.Key<T> |
Attributes.Key.of(String name)
Factory method for creating instances of
Attributes.Key . |
Modifier and Type | Method and Description |
---|---|
Set<Attributes.Key<?>> |
Attributes.keys()
Returns set of keys stored in container.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
Attributes.get(Attributes.Key<T> key)
Gets the value for the key, or
null if it's not present. |
<T> Attributes.Builder |
Attributes.Builder.set(Attributes.Key<T> key,
T value) |