JavaMetadataImpl

akka.grpc.internal.JavaMetadataImpl
@InternalApi
class JavaMetadataImpl(val delegate: Metadata) extends Metadata with MetadataStatus

This class wraps a scaladsl.Metadata instance with the javadsl.Metadata interface.

Attributes

delegate

The underlying Scala metadata instance.

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

Members list

Concise view

Value members

Concrete methods

override 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.

Definition Classes
Source:
MetadataImpl.scala
override 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.

Definition Classes
Source:
MetadataImpl.scala
override def asScala: Metadata

Attributes

Returns:

Returns the scaladsl.Metadata interface for this instance.

Definition Classes
Source:
MetadataImpl.scala
override 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.

Definition Classes
Source:
MetadataImpl.scala
override def getCode(): Int

Attributes

Definition Classes
Source:
MetadataImpl.scala
def getDetails(): List[Any]

Attributes

Source:
MetadataImpl.scala
override def getMessage(): String

Attributes

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

Attributes

Source:
MetadataImpl.scala
override def getStatus(): Status

Attributes

Definition Classes
Source:
MetadataImpl.scala
override 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.

Definition Classes
Source:
MetadataImpl.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any
Source:
MetadataImpl.scala

Concrete fields

Attributes

Source:
MetadataImpl.scala