Class/Object

com.twitter.finagle.Http

Client

Related Docs: object Client | package Http

Permalink

case class Client(stack: Stack[ServiceFactory[Request, Response]] = Client.stack, params: Params = ...) extends StdStackClient[Request, Response, Client] with WithSessionPool[Client] with WithDefaultLoadBalancer[Client] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, WithDefaultLoadBalancer[Client], WithSessionPool[Client], StdStackClient[Request, Response, Client], WithSessionQualifier[Client], WithClientSession[Client], WithClientTransport[Client], WithClientAdmissionControl[Client], ClientParams[Client], CommonParams[Client], StackClient[Request, Response], StackBasedClient[Request, Response], Transformable[StackClient[Request, Response]], Parameterized[Client], finagle.Client[Request, Response], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Client
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. WithDefaultLoadBalancer
  7. WithSessionPool
  8. StdStackClient
  9. WithSessionQualifier
  10. WithClientSession
  11. WithClientTransport
  12. WithClientAdmissionControl
  13. ClientParams
  14. CommonParams
  15. StackClient
  16. StackBasedClient
  17. Transformable
  18. Parameterized
  19. Client
  20. AnyRef
  21. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Type Members

  1. type In = Any

    Permalink
    Attributes
    protected
    Definition Classes
    Client → StdStackClient
  2. type Out = Any

    Permalink
    Attributes
    protected
    Definition Classes
    Client → StdStackClient

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. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def configured[P](psp: (P, Param[P])): Client

    Permalink
    Definition Classes
    Client → StdStackClient → StackClient → Parameterized
  7. def configured[P](p: P)(implicit arg0: Param[P]): Client

    Permalink
    Definition Classes
    StdStackClient → StackClient → Parameterized
  8. def copy1(stack: Stack[ServiceFactory[Request, Response]] = this.stack, params: Params = this.params): Client

    Permalink
    Attributes
    protected
    Definition Classes
    Client → StdStackClient
  9. def endpointer: Stackable[ServiceFactory[Request, Response]]

    Permalink
    Attributes
    protected
    Definition Classes
    StdStackClient
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def filtered(filter: Filter[Request, Response, Request, Response]): Client

    Permalink
    Definition Classes
    Client → StdStackClient
  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. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  16. def newClient(dest: Name, label0: String): ServiceFactory[Request, Response]

    Permalink
    Definition Classes
    StdStackClient → Client
  17. final def newClient(dest: String, label: String): ServiceFactory[Request, Response]

    Permalink
    Definition Classes
    Client
  18. final def newClient(dest: String): ServiceFactory[Request, Response]

    Permalink
    Definition Classes
    Client
  19. def newDispatcher(transport: Transport[Any, Any]): Service[Request, Response]

    Permalink
    Attributes
    protected
    Definition Classes
    Client → StdStackClient
  20. def newService(dest: Name, label: String): Service[Request, Response]

    Permalink
    Definition Classes
    StdStackClient → Client
  21. final def newService(dest: String, label: String): Service[Request, Response]

    Permalink
    Definition Classes
    Client
  22. final def newService(dest: String): Service[Request, Response]

    Permalink
    Definition Classes
    Client
  23. def newStreamTransport(transport: Transport[Any, Any]): StreamTransport[Request, Response]

    Permalink
    Attributes
    protected
  24. def newTransporter(): Transporter[Any, Any]

    Permalink
    Attributes
    protected
    Definition Classes
    Client → StdStackClient
  25. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  27. val params: Params

    Permalink
    Definition Classes
    Client → StackClient → Parameterized
  28. val stack: Stack[ServiceFactory[Request, Response]]

    Permalink
    Definition Classes
    Client → StackClient
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def transformed(f: (Stack[ServiceFactory[Request, Response]]) ⇒ Stack[ServiceFactory[Request, Response]]): Client

    Permalink
    Definition Classes
    StdStackClient
  31. def transformed(t: Transformer): StackClient[Request, Response]

    Permalink
    Definition Classes
    StackClient → Transformable
  32. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. val withAdmissionControl: ClientAdmissionControlParams[Client]

    Permalink
    Definition Classes
    Client → WithClientAdmissionControl
  36. def withCompressionLevel(level: Int): Client

    Permalink

    The compression level to use.

    The compression level to use. If passed the default value (-1) then it will use TextualContentCompressor which will compress text-like content-types with the default compression level (6). Otherwise, use HttpContentCompressor for all content-types with specified compression level.

  37. def withDecompression(enabled: Boolean): Client

    Permalink

    Enables decompression of http content bodies.

  38. def withExceptionStatsHandler(exceptionStatsHandler: ExceptionStatsHandler): Client

    Permalink
    Definition Classes
    Client → CommonParams
  39. def withLabel(label: String): Client

    Permalink
    Definition Classes
    Client → CommonParams
  40. val withLoadBalancer: DefaultLoadBalancingParams[Client]

    Permalink
    Definition Classes
    Client → WithDefaultLoadBalancer
  41. def withMaxHeaderSize(size: StorageUnit): Client

    Permalink
  42. def withMaxInitialLineSize(size: StorageUnit): Client

    Permalink

    Configures the maximum initial line length the client can receive from a server.

  43. def withMaxRequestSize(size: StorageUnit): Client

    Permalink

    Configures the maximum request size that the client can send.

  44. def withMaxResponseSize(size: StorageUnit): Client

    Permalink

    Configures the maximum response size that client can receive.

  45. def withMonitor(monitor: Monitor): Client

    Permalink
    Definition Classes
    Client → CommonParams
  46. def withParams(params: Params): Client

    Permalink
    Definition Classes
    StdStackClient → StackClient → Parameterized
  47. def withRequestTimeout(timeout: Duration): Client

    Permalink
    Definition Classes
    Client → CommonParams
  48. def withResponseClassifier(responseClassifier: ResponseClassifier): Client

    Permalink
    Definition Classes
    Client → CommonParams
  49. def withRetryBackoff(backoff: Stream[Duration]): Client

    Permalink
    Definition Classes
    Client → ClientParams
  50. def withRetryBudget(budget: RetryBudget): Client

    Permalink
    Definition Classes
    Client → ClientParams
  51. val withSession: ClientSessionParams[Client]

    Permalink
    Definition Classes
    Client → WithClientSession
  52. val withSessionPool: SessionPoolingParams[Client]

    Permalink
    Definition Classes
    Client → WithSessionPool
  53. val withSessionQualifier: SessionQualificationParams[Client]

    Permalink
    Definition Classes
    Client → WithSessionQualifier
  54. def withStack(stack: Stack[ServiceFactory[Request, Response]]): Client

    Permalink
    Definition Classes
    StdStackClient → StackClient
  55. def withStatsReceiver(statsReceiver: StatsReceiver): Client

    Permalink
    Definition Classes
    Client → CommonParams
  56. def withStreaming(enabled: Boolean): Client

    Permalink

    Streaming allows applications to work with HTTP messages that have large (or infinite) content bodies.

    Streaming allows applications to work with HTTP messages that have large (or infinite) content bodies. When this set to true, the message content is available through a com.twitter.io.Reader, which gives the application a handle to the byte stream. If false, the entire message content is buffered into a com.twitter.io.Buf.

  57. def withTls(hostname: String): Client

    Permalink
  58. def withTls(cfg: Netty3TransporterTLSConfig): Client

    Permalink
  59. def withTlsWithoutValidation: Client

    Permalink
  60. def withTracer(tracer: Tracer): Client

    Permalink
    Definition Classes
    Client → CommonParams
  61. val withTransport: ClientTransportParams[Client]

    Permalink
    Definition Classes
    Client → WithClientTransport

Deprecated Value Members

  1. final def newClient(dest: Group[SocketAddress]): ServiceFactory[Request, Response]

    Permalink
    Definition Classes
    Client
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names

  2. final def newService(dest: Group[SocketAddress]): Service[Request, Response]

    Permalink
    Definition Classes
    Client
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WithDefaultLoadBalancer[Client]

Inherited from WithSessionPool[Client]

Inherited from StdStackClient[Request, Response, Client]

Inherited from WithSessionQualifier[Client]

Inherited from WithClientSession[Client]

Inherited from WithClientTransport[Client]

Inherited from WithClientAdmissionControl[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