Packages

final case class Client(stack: Stack[ServiceFactory[Request, Response]] = Mux.Client.stack, params: Params = Mux.Client.params) extends PushStackClient[Request, Response, Client] with WithDefaultLoadBalancer[Client] with OpportunisticTlsParams[Client] with WithCompressionPreferences[Client] with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Client
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. WithCompressionPreferences
  7. OpportunisticTlsParams
  8. WithDefaultLoadBalancer
  9. PushStackClient
  10. EndpointerStackClient
  11. WithSessionQualifier
  12. WithClientSession
  13. WithClientTransport
  14. WithClientAdmissionControl
  15. ClientParams
  16. CommonParams
  17. StackClient
  18. StackBasedClient
  19. Transformable
  20. Parameterized
  21. Client
  22. AnyRef
  23. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Client(stack: Stack[ServiceFactory[Request, Response]] = Mux.Client.stack, params: Params = Mux.Client.params)

Type Members

  1. type In = ByteReader
    Attributes
    protected
    Definition Classes
    Client → PushStackClient
  2. type Out = Buf
    Attributes
    protected
    Definition Classes
    Client → PushStackClient
  3. type SessionT = MuxClientNegotiatingSession
    Attributes
    protected
    Definition Classes
    Client → PushStackClient

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def configured[P](psp: (P, Param[P])): Client
    Definition Classes
    EndpointerStackClient → StackClient → Parameterized
  7. def configured[P](p: P)(implicit arg0: Param[P]): Client
    Definition Classes
    EndpointerStackClient → StackClient → Parameterized
  8. def configuredParams(newParams: Params): Client
    Definition Classes
    EndpointerStackClient → StackClient → Parameterized
  9. def copy1(stack: Stack[ServiceFactory[Request, Response]], params: Params): Client
    Attributes
    protected
    Definition Classes
    Client → PushStackClient → EndpointerStackClient
  10. final def endpointer: Stackable[ServiceFactory[Request, Response]]
    Attributes
    protected
    Definition Classes
    PushStackClient → EndpointerStackClient
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def filtered(filter: Filter[Request, Response, Request, Response]): Client
    Definition Classes
    EndpointerStackClient
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def injectors: Seq[ClientParamsInjector]
    Attributes
    protected
    Definition Classes
    EndpointerStackClient
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def newClient(dest: Name, label0: String): ServiceFactory[Request, Response]
    Definition Classes
    Client → EndpointerStackClient → Client
  19. final def newClient(dest: String, label: String): ServiceFactory[Request, Response]
    Definition Classes
    Client
  20. final def newClient(dest: String): ServiceFactory[Request, Response]
    Definition Classes
    Client
  21. def newPushTransporter(sa: SocketAddress): PushTransporter[ByteReader, Buf]
    Attributes
    protected
    Definition Classes
    Client → PushStackClient
  22. def newService(dest: Name, label: String): Service[Request, Response]
    Definition Classes
    EndpointerStackClient → Client
  23. final def newService(dest: String, label: String): Service[Request, Response]
    Definition Classes
    Client
  24. final def newService(dest: String): Service[Request, Response]
    Definition Classes
    Client
  25. def newSession(handle: PushChannelHandle[ByteReader, Buf]): Future[MuxClientNegotiatingSession]
    Attributes
    protected
    Definition Classes
    Client → PushStackClient
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. val params: Params
    Definition Classes
    Client → StackClient → Parameterized
  29. final def registerTransporter(transporterName: String): Unit
    Attributes
    protected
    Definition Classes
    StackClient
  30. val stack: Stack[ServiceFactory[Request, Response]]
    Definition Classes
    Client → StackClient
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toService(session: MuxClientNegotiatingSession): Future[Service[Request, Response]]
    Attributes
    protected
    Definition Classes
    Client → PushStackClient
  33. def transformed(t: Transformer): StackClient[Request, Response]
    Definition Classes
    StackClient → Transformable
  34. def transformers: Seq[ClientStackTransformer]
    Attributes
    protected
    Definition Classes
    EndpointerStackClient
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  38. val withAdmissionControl: ClientAdmissionControlParams[Client]
    Definition Classes
    WithClientAdmissionControl
  39. val withCompressionPreferences: CompressionParams[Client]

    An entry point for configuring the client or server's compression.

    An entry point for configuring the client or server's compression.

    Definition Classes
    WithCompressionPreferences
  40. def withExceptionStatsHandler(exceptionStatsHandler: ExceptionStatsHandler): Client
    Definition Classes
    CommonParams
  41. def withExecutionOffloaded(executor: ExecutorService): Client
    Definition Classes
    CommonParams
  42. def withExecutionOffloaded(pool: FuturePool): Client
    Definition Classes
    CommonParams
  43. def withLabel(label: String): Client
    Definition Classes
    CommonParams
  44. def withLabels(keywords: String*): Client
    Definition Classes
    CommonParams
  45. val withLoadBalancer: DefaultLoadBalancingParams[Client]
    Definition Classes
    WithDefaultLoadBalancer
  46. def withMonitor(monitor: Monitor): Client
    Definition Classes
    CommonParams
  47. def withNoOpportunisticTls: Client

    Disables opportunistic TLS.

    Disables opportunistic TLS.

    If this is still TLS configured, it will speak mux over TLS. To instead configure this to be Off, use withOpportunisticTls(OpportunisticTls.Off).

    Definition Classes
    OpportunisticTlsParams
  48. def withOpportunisticTls(level: Level): Client

    Configures whether to speak TLS or not.

    Configures whether to speak TLS or not.

    By default, don't use opportunistic TLS, and instead try to speak mux over TLS if TLS has been configured.

    The valid levels are Off, which indicates this will never speak TLS, Desired, which indicates it may speak TLS, but may also not speak TLS, and Required, which indicates it must speak TLS.

    Peers that are configured with level Required cannot speak to peers that are configured with level Off.

    Note that opportunistic TLS is negotiated in a cleartext handshake, and is incompatible with mux over TLS.

    Definition Classes
    OpportunisticTlsParams
  49. def withParams(params: Params): Client
    Definition Classes
    EndpointerStackClient → StackClient → Parameterized
  50. def withRequestTimeout(timeout: Tunable[Duration]): Client
    Definition Classes
    CommonParams
  51. def withRequestTimeout(timeout: Duration): Client
    Definition Classes
    CommonParams
  52. def withResponseClassifier(responseClassifier: ResponseClassifier): Client
    Definition Classes
    CommonParams
  53. def withRetryBackoff(backoff: Backoff): Client
    Definition Classes
    ClientParams
  54. def withRetryBudget(budget: RetryBudget): Client
    Definition Classes
    ClientParams
  55. val withSession: ClientSessionParams[Client]
    Definition Classes
    WithClientSession
  56. val withSessionQualifier: SessionQualificationParams[Client]
    Definition Classes
    WithSessionQualifier
  57. def withStack(fn: (Stack[ServiceFactory[Request, Response]]) ⇒ Stack[ServiceFactory[Request, Response]]): Client
    Definition Classes
    EndpointerStackClient → StackClient
  58. def withStack(stack: Stack[ServiceFactory[Request, Response]]): Client
    Definition Classes
    EndpointerStackClient → StackClient
  59. def withStatsReceiver(statsReceiver: StatsReceiver): Client
    Definition Classes
    CommonParams
  60. def withTracer(tracer: Tracer): Client
    Definition Classes
    CommonParams
  61. val withTransport: ClientTransportParams[Client]
    Definition Classes
    WithClientTransport

Deprecated Value Members

  1. def transformed(f: (Stack[ServiceFactory[Request, Response]]) ⇒ Stack[ServiceFactory[Request, Response]]): Client
    Definition Classes
    EndpointerStackClient
    Annotations
    @deprecated
    Deprecated

    (Since version 2018-10-30) Use withStack(Stack[ServiceFactory[Req, Rep]] => Stack[ServiceFactory[Req, Rep]]) instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from OpportunisticTlsParams[Client]

Inherited from WithSessionQualifier[Client]

Inherited from WithClientSession[Client]

Inherited from WithClientTransport[Client]

Inherited from ClientParams[Client]

Inherited from CommonParams[Client]

Inherited from StackClient[Request, Response]

Inherited from StackBasedClient[Request, Response]

Inherited from Transformable[StackClient[Request, Response]]

Inherited from Parameterized[Client]

Inherited from finagle.Client[Request, Response]

Inherited from AnyRef

Inherited from Any

Ungrouped