Package io.grpc

Class Grpc


  • public final class Grpc
    extends java.lang.Object
    Stuff that are part of the public API but are not bound to particular classes, e.g., static methods, constants, attribute and context keys.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  Grpc.TransportAttr
      Annotation for transport attributes.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • TRANSPORT_ATTR_REMOTE_ADDR

        @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1710")
        @TransportAttr
        public static final Attributes.Key<java.net.SocketAddress> TRANSPORT_ATTR_REMOTE_ADDR
        Attribute key for the remote address of a transport.
      • TRANSPORT_ATTR_LOCAL_ADDR

        @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1710")
        @TransportAttr
        public static final Attributes.Key<java.net.SocketAddress> TRANSPORT_ATTR_LOCAL_ADDR
        Attribute key for the local address of a transport.
      • TRANSPORT_ATTR_SSL_SESSION

        @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1710")
        @TransportAttr
        public static final Attributes.Key<javax.net.ssl.SSLSession> TRANSPORT_ATTR_SSL_SESSION
        Attribute key for SSL session of a transport.