Class/Object

akka.grpc

GrpcClientSettings

Related Docs: object GrpcClientSettings | package grpc

Permalink

final class GrpcClientSettings extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GrpcClientSettings
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val callCredentials: Option[CallCredentials]

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val connectionAttempts: Option[Int]

    Permalink
  8. val deadline: Duration

    Permalink
  9. val defaultPort: Int

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val overrideAuthority: Option[String]

    Permalink
  20. val resolveTimeout: FiniteDuration

    Permalink
  21. val serviceDiscovery: SimpleServiceDiscovery

    Permalink
  22. val serviceName: String

    Permalink
  23. val servicePortName: Option[String]

    Permalink
  24. val serviceProtocol: Option[String]

    Permalink
  25. val sslContext: Option[SSLContext]

    Permalink
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. val useTls: Boolean

    Permalink
  29. val userAgent: Option[String]

    Permalink
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def withCallCredentials(value: CallCredentials): GrpcClientSettings

    Permalink
  34. def withConnectionAttempts(value: Int): GrpcClientSettings

    Permalink

    How many times to retry establishing a connection before failing the client Failure can be monitored using client.stopped and monitoring the Future/CompletionStage.

    How many times to retry establishing a connection before failing the client Failure can be monitored using client.stopped and monitoring the Future/CompletionStage. An exponentially increasing backoff is used between attempts.

  35. def withDeadline(value: Duration): GrpcClientSettings

    Permalink

    Each call will have this deadline.

  36. def withDeadline(value: Duration): GrpcClientSettings

    Permalink

    Each call will have this deadline.

  37. def withDefaultPort(value: Int): GrpcClientSettings

    Permalink

    If using ServiceDiscovery and no port is returned use this one.

  38. def withOverrideAuthority(value: String): GrpcClientSettings

    Permalink
  39. def withResolveTimeout(value: FiniteDuration): GrpcClientSettings

    Permalink
  40. def withSSLContext(context: SSLContext): GrpcClientSettings

    Permalink
  41. def withServicePortName(servicePortName: String): GrpcClientSettings

    Permalink

    When using service discovery, port name is the optional parameter to filter the requests.

    When using service discovery, port name is the optional parameter to filter the requests. Looking up a service may return multiple ports (http/https/...) if the remote process only serves the grpc service on a specific port you must use this setting.

  42. def withServiceProtocol(serviceProtocol: String): GrpcClientSettings

    Permalink
  43. def withTls(enabled: Boolean): GrpcClientSettings

    Permalink

    Set to false to use unencrypted HTTP/2.

    Set to false to use unencrypted HTTP/2. This should not be used in production system.

  44. def withUserAgent(value: String): GrpcClientSettings

    Permalink

    Provides a custom User-Agent for the application.

    Provides a custom User-Agent for the application.

    It's an optional parameter. The library will provide a user agent independent of this option. If provided, the given agent will prepend the library's user agent information.

Inherited from AnyRef

Inherited from Any

Ungrouped