o

akka.grpc.internal

GrpcProtocolNative

object GrpcProtocolNative extends AbstractGrpcProtocol

Implementation of the gRPC (application/grpc+proto) protocol:

Protocol:

  • Data frames are encoded to a stream of Chunk as per the gRPC specification
  • Trailer frames are encoded to LastChunk, to be rendered into the underlying HTTP/2 transport
Source
GrpcProtocolNative.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GrpcProtocolNative
  2. AbstractGrpcProtocol
  3. GrpcProtocol
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. val contentType: Binary

    INTERNAL API

    INTERNAL API

    The canonical media type to use for this protocol variant

    Definition Classes
    AbstractGrpcProtocolGrpcProtocol
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val mediaTypes: Set[MediaType]

    INTERNAL API

    INTERNAL API

    The set of media types that can identify this protocol variant (e.g. including an implicit +proto)

    Definition Classes
    AbstractGrpcProtocolGrpcProtocol
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def newReader(codec: Codec): GrpcProtocolReader

    Obtains a reader for this protocol.

    Obtains a reader for this protocol.

    codec

    the codec to use for compressed frames.

    Definition Classes
    AbstractGrpcProtocolGrpcProtocol
  15. def newWriter(codec: Codec): GrpcProtocolWriter

    Obtains a writer for this protocol:

    Obtains a writer for this protocol:

    codec

    the compression codec to apply to data frame contents.

    Definition Classes
    AbstractGrpcProtocolGrpcProtocol
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def reader(codec: Codec): GrpcProtocolReader
    Attributes
    protected
    Definition Classes
    GrpcProtocolNativeAbstractGrpcProtocol
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def writer(codec: Codec): GrpcProtocolWriter
    Attributes
    protected
    Definition Classes
    GrpcProtocolNativeAbstractGrpcProtocol

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AbstractGrpcProtocol

Inherited from GrpcProtocol

Inherited from AnyRef

Inherited from Any

Ungrouped