o

akka.grpc.internal

GrpcProtocolWeb

object GrpcProtocolWeb extends GrpcProtocolWebBase

Implementation of the gRPC Web protocol.

Protocol:

  • Data frames are encoded to a stream of Chunk as per the gRPC-web specification.
  • Trailer frames are encoded to a Chunk (containing a marked trailer frame) as per the gRPC-web specification.
Source
GrpcProtocolWeb.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GrpcProtocolWeb
  2. GrpcProtocolWebBase
  3. AbstractGrpcProtocol
  4. GrpcProtocol
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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(classOf[java.lang.CloneNotSupportedException]) @native()
  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: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  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()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def postEncode(frame: ByteString): ByteString
    Definition Classes
    GrpcProtocolWebGrpcProtocolWebBase
  19. final def preDecodeFlow: Flow[ByteString, ByteString, NotUsed]
    Definition Classes
    GrpcProtocolWebGrpcProtocolWebBase
  20. final def preDecodeStrict(frame: ByteString): ByteString
    Definition Classes
    GrpcProtocolWebGrpcProtocolWebBase
  21. def reader(codec: Codec): GrpcProtocolReader
    Attributes
    protected
    Definition Classes
    GrpcProtocolWebBaseAbstractGrpcProtocol
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. def writer(codec: Codec): GrpcProtocolWriter
    Attributes
    protected
    Definition Classes
    GrpcProtocolWebBaseAbstractGrpcProtocol

Deprecated Value Members

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

    (Since version 9)

Inherited from GrpcProtocolWebBase

Inherited from AbstractGrpcProtocol

Inherited from GrpcProtocol

Inherited from AnyRef

Inherited from Any

Ungrouped