object Transporter
A collection of Stack.Params useful for configuring a com.twitter.finagle.client.Transporter.
- Alphabetic
- By Inheritance
- Transporter
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- 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.
- case class Credentials(username: String, password: String) extends Product with Serializable
This class wraps the username, password that we use for http proxy auth
- case class EndpointAddr(addr: Address) extends Product with Serializable
$param a
SocketAddress
that aTransporter
connects to. - 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
- case class HttpProxyTo(hostAndCredentials: Option[(String, Option[Credentials])]) extends Product with Serializable
- 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
. - 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. WhenSome
, is an opaque identifier and its meaning and interpretation are implementation specific. Currently used to configure java.net.StandardSocketOptions.IP_TOS.
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]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- object ConnectTimeout extends Serializable
- object EndpointAddr extends Serializable
- implicit object HttpProxy extends Param[HttpProxy] with Serializable
- implicit object HttpProxyTo extends Param[HttpProxyTo] with Serializable
- implicit object SocksProxy extends Param[SocksProxy] with Serializable
- object TrafficClass extends Serializable