c

akka.grpc.internal

JavaMetadataImpl

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
MetadataStatus, Metadata, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavaMetadataImpl
  2. MetadataStatus
  3. Metadata
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new JavaMetadataImpl(delegate: Metadata)

    delegate

    The underlying Scala metadata instance.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. 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
    JavaMetadataImplMetadata
  6. 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
    JavaMetadataImplMetadata
  7. def asScala: Metadata

    returns

    Returns the scaladsl.Metadata interface for this instance.

    Definition Classes
    JavaMetadataImplMetadata
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  9. val delegate: Metadata
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. 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
    JavaMetadataImplMetadata
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  14. def getCode(): Int
    Definition Classes
    JavaMetadataImplMetadataStatus
  15. def getDetails(): List[Any]
    Definition Classes
    JavaMetadataImplMetadataStatus
  16. def getMessage(): String
    Definition Classes
    JavaMetadataImplMetadataStatus
  17. def getParsedDetails[K <: GeneratedMessage](companion: GeneratedMessageCompanion[K]): List[K]
    Definition Classes
    JavaMetadataImplMetadataStatus
  18. def getStatus(): Status
    Definition Classes
    JavaMetadataImplMetadataStatus
  19. 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
    JavaMetadataImplMetadata
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    JavaMetadataImpl → AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from MetadataStatus

Inherited from Metadata

Inherited from AnyRef

Inherited from Any

Ungrouped