org.apache.pekko.grpc.javadsl.MetadataBuilder
See theMetadataBuilder companion object
This class provides an interface for constructing immutable Metadata instances.
Attributes
-
Companion
-
object
-
Source
-
MetadataBuilder.scala
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
Members list
Adds a binary entry. The key must end in the "-bin" binary suffix.
Adds a binary entry. The key must end in the "-bin" binary suffix.
Value parameters
-
key
-
The entry key.
-
value
-
The entry value.
Attributes
-
Returns
-
The updated builder.
-
Source
-
MetadataBuilder.scala
Adds a string entry. The key must not end in the "-bin" binary suffix.
Adds a string entry. The key must not end in the "-bin" binary suffix.
Value parameters
-
key
-
The entry key.
-
value
-
The entry value.
Attributes
-
Returns
-
The updated builder.
-
Source
-
MetadataBuilder.scala
Builds the immutable metadata instance.