JavaBidirectionalStreamingRequestBuilder

org.apache.pekko.grpc.internal.JavaBidirectionalStreamingRequestBuilder
@InternalApi
final class JavaBidirectionalStreamingRequestBuilder[I, O](descriptor: MethodDescriptor[I, O], channel: InternalChannel, defaultOptions: CallOptions, settings: GrpcClientSettings, val headers: MetadataImpl)(implicit ec: ExecutionContext) extends StreamResponseRequestBuilder[Source[I, NotUsed], O], MetadataOperations[JavaBidirectionalStreamingRequestBuilder[I, O]]

INTERNAL API

Attributes

Source
RequestBuilderImpl.scala
Graph
Supertypes
trait StreamResponseRequestBuilder[Source[I, NotUsed], O]
class Object
trait Matchable
class Any

Members list

Value members

Constructors

@InternalStableApi
def this(descriptor: MethodDescriptor[I, O], channel: InternalChannel, defaultOptions: CallOptions, settings: GrpcClientSettings)(implicit ec: ExecutionContext)

Attributes

Source
RequestBuilderImpl.scala

Deprecated constructors

@InternalStableApi
def this(descriptor: MethodDescriptor[I, O], fqMethodName: String, channel: InternalChannel, defaultOptions: CallOptions, settings: GrpcClientSettings)(implicit ec: ExecutionContext)

Attributes

Deprecated
true
Source
RequestBuilderImpl.scala

Concrete methods

override def invoke(request: Source[I, NotUsed]): Source[O, NotUsed]

Invoke the gRPC method with the additional metadata added

Invoke the gRPC method with the additional metadata added

Attributes

Definition Classes
Source
RequestBuilderImpl.scala
override def invokeWithMetadata(source: Source[I, NotUsed]): Source[O, CompletionStage[GrpcResponseMetadata]]

Invoke the gRPC method with the additional metadata added and provide access to response metadata

Invoke the gRPC method with the additional metadata added and provide access to response metadata

Attributes

Definition Classes
Source
RequestBuilderImpl.scala
override def withHeaders(headers: MetadataImpl): JavaBidirectionalStreamingRequestBuilder[I, O]

Attributes

Definition Classes
Source
RequestBuilderImpl.scala

Inherited methods

def addHeader(key: String, value: ByteString): T

Attributes

Inherited from:
MetadataOperations
Source
RequestBuilderImpl.scala
def addHeader(key: String, value: String): T

Attributes

Inherited from:
MetadataOperations
Source
RequestBuilderImpl.scala

Concrete fields

val headers: MetadataImpl

Attributes

Source
RequestBuilderImpl.scala