t

akka.grpc

GrpcSingleResponse

trait GrpcSingleResponse[T] extends GrpcResponseMetadata

Represents the metadata related to a gRPC call with a single response value

Not for user extension

Annotations
@DoNotInherit()
Source
GrpcClientResponse.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GrpcSingleResponse
  2. GrpcResponseMetadata
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getHeaders(): Metadata

    Java API: The response metadata, the metadata is only for reading and must not be mutated.

    Java API: The response metadata, the metadata is only for reading and must not be mutated.

    Definition Classes
    GrpcResponseMetadata
  2. abstract def getTrailers(): CompletionStage[Metadata]

    Java API: Trailers from the server, is completed after the response stream completes

    Java API: Trailers from the server, is completed after the response stream completes

    Definition Classes
    GrpcResponseMetadata
  3. abstract def getValue(): T

    Java API: The response body

  4. abstract def headers: Metadata

    Scala API: The response metadata, the metadata is only for reading and must not be mutated.

    Scala API: The response metadata, the metadata is only for reading and must not be mutated.

    Definition Classes
    GrpcResponseMetadata
  5. abstract def trailers: Future[Metadata]

    Scala API: Trailers from the server, is completed after the response stream completes

    Scala API: Trailers from the server, is completed after the response stream completes

    Definition Classes
    GrpcResponseMetadata
  6. abstract def value: T

    Scala API: The response body