HeaderMetadataImpl
org.apache.pekko.grpc.internal.HeaderMetadataImpl
@InternalApi
class HeaderMetadataImpl(headers: Seq[HttpHeader]) extends Metadata
This class wraps a list of headers from an HttpResponse with the Metadata interface.
Value parameters
- headers
-
The list of HTTP response headers.
Attributes
- Source
- MetadataImpl.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Returns
-
A list of (key, MetadataEntry) tuples.
- Definition Classes
- Source
- MetadataImpl.scala
Attributes
- Returns
-
The metadata as a map.
- Definition Classes
- Source
- MetadataImpl.scala
Attributes
- Returns
-
The binary header value for
keyif one exists, if the same key has multiple values the last occurrence that is a text key is used. - Definition Classes
- Source
- MetadataImpl.scala
Attributes
- Returns
-
The text header value for
keyif one exists, if the same key has multiple values the last occurrence that is a text key is used. - Definition Classes
- Source
- MetadataImpl.scala
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
In this article