o

org.apache.pekko.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. 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()
  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. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. 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
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. 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
  16. 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
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def postEncode(frame: ByteString): ByteString
    Definition Classes
    GrpcProtocolWebGrpcProtocolWebBase
  20. final def preDecodeFlow: Flow[ByteString, ByteString, NotUsed]
    Definition Classes
    GrpcProtocolWebGrpcProtocolWebBase
  21. final def preDecodeStrict(frame: ByteString): ByteString
    Definition Classes
    GrpcProtocolWebGrpcProtocolWebBase
  22. def reader(codec: Codec): GrpcProtocolReader
    Attributes
    protected
    Definition Classes
    GrpcProtocolWebBaseAbstractGrpcProtocol
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  28. def writer(codec: Codec): GrpcProtocolWriter
    Attributes
    protected
    Definition Classes
    GrpcProtocolWebBaseAbstractGrpcProtocol

Inherited from GrpcProtocolWebBase

Inherited from AbstractGrpcProtocol

Inherited from GrpcProtocol

Inherited from AnyRef

Inherited from Any

Ungrouped