class JavaMetadataImpl extends Metadata with MetadataStatus
This class wraps a scaladsl.Metadata instance with the javadsl.Metadata interface.
- Annotations
- @InternalApi()
- Source
- MetadataImpl.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JavaMetadataImpl
- MetadataStatus
- Metadata
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- def asList(): List[Pair[String, MetadataEntry]]
- 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
- JavaMetadataImpl → Metadata
- def asMap(): Map[String, List[MetadataEntry]]
- 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
- JavaMetadataImpl → Metadata
- def asScala: Metadata
- returns
Returns the scaladsl.Metadata interface for this instance.
- Definition Classes
- JavaMetadataImpl → Metadata
- val delegate: Metadata
- def getBinary(key: String): Optional[ByteString]
- 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
- JavaMetadataImpl → Metadata
- def getCode(): Int
- Definition Classes
- JavaMetadataImpl → MetadataStatus
- def getDetails(): List[Any]
- Definition Classes
- JavaMetadataImpl → MetadataStatus
- def getMessage(): String
- Definition Classes
- JavaMetadataImpl → MetadataStatus
- def getParsedDetails[K <: GeneratedMessageV3](messageType: K): List[K]
- Definition Classes
- JavaMetadataImpl → MetadataStatus
- def getParsedDetails[K <: GeneratedMessage](companion: GeneratedMessageCompanion[K]): List[K]
- Definition Classes
- JavaMetadataImpl → MetadataStatus
- def getStatus(): Status
- Definition Classes
- JavaMetadataImpl → MetadataStatus
- def getText(key: String): Optional[String]
- 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
- JavaMetadataImpl → Metadata
- def toString(): String
- Definition Classes
- JavaMetadataImpl → AnyRef → Any