MetadataStatus

akka.grpc.scaladsl.MetadataStatus
@ApiMayChange @DoNotInherit
trait MetadataStatus extends Metadata

Provides access to details to more rich error details using the logical gRPC com.google.rpc.Status message, see API Design Guide for more details.

Not for user extension

Attributes

Source:
Metadata.scala
Graph
Supertypes
trait Metadata
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def code: Int

Attributes

Source:
Metadata.scala
def details: Seq[Any]

Attributes

Source:
Metadata.scala
def getParsedDetails[K <: GeneratedMessage](implicit msg: GeneratedMessageCompanion[K]): Seq[K]

Attributes

Source:
Metadata.scala
def message: String

Attributes

Source:
Metadata.scala
def status: Status

Attributes

Source:
Metadata.scala

Inherited methods

@ApiMayChange
def asList: List[(String, MetadataEntry)]

Attributes

Returns:

A list of (key, MetadataEntry) tuples.

Inherited from:
Metadata
Source:
Metadata.scala
@ApiMayChange
def asMap: Map[String, List[MetadataEntry]]

Attributes

Returns:

The metadata as a map.

Inherited from:
Metadata
Source:
Metadata.scala
def getBinary(key: String): Option[ByteString]

Attributes

Returns:

The binary header value for key if one exists, if the same key has multiple values the last occurrence that is a text key is used.

Inherited from:
Metadata
Source:
Metadata.scala
def getText(key: String): Option[String]

Attributes

Returns:

The text header value for key if one exists, if the same key has multiple values the last occurrence that is a text key is used.

Inherited from:
Metadata
Source:
Metadata.scala