final class GrpcServerSettings extends AnyRef
Settings for gRPC server services.
Read from pekko.grpc.server in the actor system's configuration.
- Annotations
- @ApiMayChange()
- Source
- GrpcServerSettings.scala
- Since
2.0.0
- Alphabetic
- By Inheritance
- GrpcServerSettings
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val enforceDeadline: Boolean
- 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
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxInboundMessageSize: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- GrpcServerSettings → AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withEnforceDeadline(value: Boolean): GrpcServerSettings
Whether generated handlers bound a call by the deadline the client sent in
grpc-timeout.Whether generated handlers bound a call by the deadline the client sent in
grpc-timeout.When enabled (the default), a call that is still running when the deadline passes is completed with
DEADLINE_EXCEEDED, and a streamed response is ended and itsSourcecancelled. When disabled, the header is ignored and the call runs to completion, as it did before 2.0.0.- Since
2.0.0
- def withMaxInboundMessageSize(value: Int): GrpcServerSettings
Maximum allowed size for inbound gRPC messages (in bytes).
Maximum allowed size for inbound gRPC messages (in bytes). Applies to the decompressed message size. Messages exceeding this limit will be rejected with RESOURCE_EXHAUSTED status.
- Since
2.0.0
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)