Packages

object Transporter

A collection of Stack.Params useful for configuring a com.twitter.finagle.client.Transporter.

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

Type Members

  1. case class ConnectTimeout(howlong: Duration) extends Product with Serializable

    $param the connect timeout of a Transporter.

    $param the connect timeout of a Transporter.

    howlong

    Maximum amount of time a transport is allowed to spend connecting. Must be non-negative.

  2. case class Credentials(username: String, password: String) extends Product with Serializable

    This class wraps the username, password that we use for http proxy auth

  3. case class EndpointAddr(addr: Address) extends Product with Serializable

    $param a SocketAddress that a Transporter connects to.

  4. case class HttpProxy(sa: Option[SocketAddress], credentials: Option[Credentials]) extends Product with Serializable

    $param a HttpProxy as the endpoint for a Transporter.

    $param a HttpProxy as the endpoint for a Transporter.

    See also

    https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#9.9

  5. case class HttpProxyTo(hostAndCredentials: Option[(String, Option[Credentials])]) extends Product with Serializable
  6. case class SocksProxy(sa: Option[SocketAddress], credentials: Option[(String, String)], bypassLocalhost: Boolean = true) extends Product with Serializable

    $param a SocksProxy as the endpoint for a Transporter.

  7. case class TrafficClass(value: Option[Int]) extends Product with Serializable

    Configures the traffic class to be used by clients.

    Configures the traffic class to be used by clients.

    value

    None indicates no class specified. When Some, is an opaque identifier and its meaning and interpretation are implementation specific. Currently used to configure java.net.StandardSocketOptions.IP_TOS.

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(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. object ConnectTimeout extends Serializable
  21. object EndpointAddr extends Serializable
  22. implicit object HttpProxy extends Param[HttpProxy] with Serializable
  23. implicit object HttpProxyTo extends Param[HttpProxyTo] with Serializable
  24. implicit object SocksProxy extends Param[SocksProxy] with Serializable
  25. object TrafficClass extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped