Packages

object ClientTransport

(Still unstable) entry point to create or access predefined client transports.

Annotations
@ApiMayChange()
Source
ClientTransport.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClientTransport
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. def TCP: ClientTransport
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. def fromScala(scalaTransport: scaladsl.ClientTransport): ClientTransport
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def httpsProxy(proxyCredentials: HttpCredentials, system: ActorSystem): ClientTransport

    Returns a ClientTransport that runs all connection through the given HTTP(S) proxy using the HTTP CONNECT method.

    Returns a ClientTransport that runs all connection through the given HTTP(S) proxy using the HTTP CONNECT method. This method also takes HttpCredentials in order to pass along to the proxy.

    Pulls the host/port pair from the application.conf: akka.client.proxy.https.{host, port}

  14. def httpsProxy(proxyAddress: InetSocketAddress, proxyCredentials: HttpCredentials): ClientTransport

    Returns a ClientTransport that runs all connection through the given HTTP(S) proxy using the HTTP CONNECT method.

    Returns a ClientTransport that runs all connection through the given HTTP(S) proxy using the HTTP CONNECT method. This call also takes HttpCredentials to base proxy credentials along with the request.

    An HTTP(S) proxy is a proxy that will create one TCP connection to the HTTP(S) proxy for each target connection. The proxy transparently forwards the TCP connection to the target host.

    For more information about HTTP CONNECT tunnelling see https://tools.ietf.org/html/rfc7231#section-4.3.6.

  15. def httpsProxy(implicit system: ActorSystem): ClientTransport

    Returns a ClientTransport that runs all connection through the given HTTP(S) proxy using the HTTP CONNECT method.

    Returns a ClientTransport that runs all connection through the given HTTP(S) proxy using the HTTP CONNECT method.

    Pulls the host/port pair from the application.conf: akka.client.proxy.https.{host, port}

  16. def httpsProxy(proxyAddress: InetSocketAddress): ClientTransport

    Returns a ClientTransport that runs all connection through the given HTTP(S) proxy using the HTTP CONNECT method.

    Returns a ClientTransport that runs all connection through the given HTTP(S) proxy using the HTTP CONNECT method.

    An HTTP(S) proxy is a proxy that will create one TCP connection to the HTTP(S) proxy for each target connection. The proxy transparently forwards the TCP connection to the target host.

    For more information about HTTP CONNECT tunnelling see https://tools.ietf.org/html/rfc7231#section-4.3.6.

  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toScala(javaTransport: ClientTransport): scaladsl.ClientTransport
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. def withCustomResolver(lookup: BiFunction[String, Int, CompletionStage[InetSocketAddress]]): ClientTransport

    Returns a ClientTransport that allows to customize host name resolution.

    Returns a ClientTransport that allows to customize host name resolution.

    lookup

    A function that will be called with hostname and port and that should (potentially asynchronously resolve the given host/port to an InetSocketAddress

Inherited from AnyRef

Inherited from Any

Ungrouped