c

akka.grpc.internal

ScalaUnaryRequestBuilder

final class ScalaUnaryRequestBuilder[I, O] extends SingleResponseRequestBuilder[I, O] with MetadataOperations[ScalaUnaryRequestBuilder[I, O]]

INTERNAL API

Annotations
@InternalApi()
Source
RequestBuilderImpl.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaUnaryRequestBuilder
  2. MetadataOperations
  3. SingleResponseRequestBuilder
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ScalaUnaryRequestBuilder(descriptor: MethodDescriptor[I, O], channel: InternalChannel, defaultOptions: CallOptions, settings: GrpcClientSettings)(implicit ec: ExecutionContext)
    Annotations
    @InternalStableApi()
  2. new ScalaUnaryRequestBuilder(descriptor: MethodDescriptor[I, O], channel: InternalChannel, defaultOptions: CallOptions, settings: GrpcClientSettings, headers: MetadataImpl)(implicit ec: ExecutionContext)

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. def addHeader(key: String, value: ByteString): ScalaUnaryRequestBuilder[I, O]
    Definition Classes
    MetadataOperations
  5. def addHeader(key: String, value: String): ScalaUnaryRequestBuilder[I, O]
    Definition Classes
    MetadataOperations
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. val headers: MetadataImpl
  13. def invoke(request: I): Future[O]

    Invoke the gRPC method with the additional metadata added

    Invoke the gRPC method with the additional metadata added

    Definition Classes
    ScalaUnaryRequestBuilderSingleResponseRequestBuilder
  14. def invokeWithMetadata(request: I): Future[GrpcSingleResponse[O]]

    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

    Definition Classes
    ScalaUnaryRequestBuilderSingleResponseRequestBuilder
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def setDeadline(deadline: Duration): SingleResponseRequestBuilder[I, O]

    Set the deadline for this call

    Set the deadline for this call

    returns

    A new request builder, that will use the supplied deadline when invoked

    Definition Classes
    ScalaUnaryRequestBuilderSingleResponseRequestBuilder
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. def withHeaders(headers: MetadataImpl): ScalaUnaryRequestBuilder[I, O]

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 SingleResponseRequestBuilder[I, O]

Inherited from AnyRef

Inherited from Any

Ungrouped