EntryMetadataImpl

akka.grpc.internal.EntryMetadataImpl
@InternalApi
class EntryMetadataImpl(entries: List[(String, MetadataEntry)]) extends Metadata

This class represents metadata as a list of (key, entry) tuples.

Attributes

entries

The list of (key, entry) tuples.

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[(String, MetadataEntry)]

Attributes

Returns:

A list of (key, MetadataEntry) tuples.

Definition Classes
Source:
MetadataImpl.scala
override def asMap: Map[String, List[MetadataEntry]]

Attributes

Returns:

The metadata as a map.

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

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

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