final class JavaUnaryRequestBuilder[I, O] extends SingleResponseRequestBuilder[I, O] with MetadataOperations[JavaUnaryRequestBuilder[I, O]]
Ordering
- Alphabetic
- By Inheritance
Inherited
- JavaUnaryRequestBuilder
- MetadataOperations
- SingleResponseRequestBuilder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new JavaUnaryRequestBuilder(descriptor: MethodDescriptor[I, O], channel: InternalChannel, defaultOptions: CallOptions, settings: GrpcClientSettings)(implicit ec: ExecutionContext)
- Annotations
- @InternalStableApi()
- new JavaUnaryRequestBuilder(descriptor: MethodDescriptor[I, O], channel: InternalChannel, defaultOptions: CallOptions, settings: GrpcClientSettings, headers: MetadataImpl)(implicit ex: ExecutionContext)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addHeader(key: String, value: ByteString): JavaUnaryRequestBuilder[I, O]
- Definition Classes
- MetadataOperations
- def addHeader(key: String, value: String): JavaUnaryRequestBuilder[I, O]
- Definition Classes
- MetadataOperations
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val headers: MetadataImpl
- Definition Classes
- JavaUnaryRequestBuilder → MetadataOperations
- def invoke(request: I): CompletionStage[O]
Invoke the gRPC method with the additional metadata added
Invoke the gRPC method with the additional metadata added
- Definition Classes
- JavaUnaryRequestBuilder → SingleResponseRequestBuilder
- def invokeWithMetadata(request: I): CompletionStage[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
- JavaUnaryRequestBuilder → SingleResponseRequestBuilder
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def setDeadline(deadline: Duration): JavaUnaryRequestBuilder[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
- JavaUnaryRequestBuilder → SingleResponseRequestBuilder
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withHeaders(headers: MetadataImpl): JavaUnaryRequestBuilder[I, O]
- Definition Classes
- JavaUnaryRequestBuilder → MetadataOperations
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)