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]) @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 getAttribute[T](key: AttributeKey[T]): Optional[T]

    Get an attribute from the underlying akka-http message associated with this metadata.

    Get an attribute from the underlying akka-http message associated with this metadata.

    Will return None if this metadata is not associated with an akka-http request or response, for example, if using the netty client support.

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

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