MetadataStatus

akka.grpc.javadsl.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 getCode(): Int

Attributes

Source:
Metadata.scala
def getDetails(): List[Any]

Attributes

Source:
Metadata.scala
def getMessage(): String

Attributes

Source:
Metadata.scala
def getParsedDetails[K <: GeneratedMessage](companion: GeneratedMessageCompanion[K]): List[K]

Attributes

Source:
Metadata.scala
def getStatus(): Status

Attributes

Source:
Metadata.scala

Inherited methods

def asList(): List[Pair[String, MetadataEntry]]

Attributes

Returns:

A list of (key, entry) pairs. Pairs with the same key will be ordered based on when they were added or received.

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

Attributes

Returns:

A map from keys to a list of metadata entries. Entries with the same key will be ordered based on when they were added or received.

Inherited from:
Metadata
Source:
Metadata.scala

Attributes

Returns:

Returns the scaladsl.Metadata interface for this instance.

Inherited from:
Metadata
Source:
Metadata.scala
def getBinary(key: String): Optional[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): Optional[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