Package io.grpc.internal
Class GrpcAttributes
- java.lang.Object
-
- io.grpc.internal.GrpcAttributes
-
public final class GrpcAttributes extends java.lang.Object
Special attributes that are only useful to gRPC.
-
-
Field Summary
Fields Modifier and Type Field Description static Attributes.Key<Attributes>
ATTR_CLIENT_EAG_ATTRS
Attribute key for the attributes of theEquivalentAddressGroup
(EquivalentAddressGroup.getAttributes()
) that the transport's server address is from.static Attributes.Key<SecurityLevel>
ATTR_SECURITY_LEVEL
The security level of the transport.
-
Constructor Summary
Constructors Modifier Constructor Description private
GrpcAttributes()
-
-
-
Field Detail
-
ATTR_SECURITY_LEVEL
@TransportAttr public static final Attributes.Key<SecurityLevel> ATTR_SECURITY_LEVEL
The security level of the transport. If it's not present,SecurityLevel.NONE
should be assumed.
-
ATTR_CLIENT_EAG_ATTRS
@TransportAttr public static final Attributes.Key<Attributes> ATTR_CLIENT_EAG_ATTRS
Attribute key for the attributes of theEquivalentAddressGroup
(EquivalentAddressGroup.getAttributes()
) that the transport's server address is from. This is a client-side-only transport attribute, and available right after the transport is started.
-
-