MetadataBuilder

akka.grpc.javadsl.MetadataBuilder$
See theMetadataBuilder companion class
@ApiMayChange

Attributes

Companion:
class
Source:
MetadataBuilder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def fromHeaders(headers: Iterable[HttpHeader]): Metadata

Constructs a Metadata instance from a collection of HTTP headers.

Constructs a Metadata instance from a collection of HTTP headers.

Attributes

headers

The headers.

Returns:

The metadata instance.

Source:
MetadataBuilder.scala

Concrete fields

Attributes

Returns:

An empty metadata instance.

Source:
MetadataBuilder.scala