final class Proxy extends AnyRef

DSL for bootstrapping Proxies.

Immutable, so all methods return a new occurrence and leave the original unmodified.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Proxy
  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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asScala(): http.protocol.Proxy
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def connectHeader(name: CharSequence, value: Function[Session, String]): Proxy

    Set a header for the CONNECT request (HTTP(S) proxies only)

    Set a header for the CONNECT request (HTTP(S) proxies only)

    name

    the static header name

    value

    the header value, expressed as a function

    returns

    a new Proxy instance

    Annotations
    @NonNull()
  8. def connectHeader(name: CharSequence, value: String): Proxy

    Set a header for the CONNECT request (HTTP(S) proxies only)

    Set a header for the CONNECT request (HTTP(S) proxies only)

    name

    the static header name

    value

    the header value, expressed as a Gatling Expression Language String

    returns

    a new Proxy instance

    Annotations
    @NonNull()
  9. def connectHeaders(headers: Map[_ <: CharSequence, String]): Proxy

    Set a header for the CONNECT request (HTTP(S) proxies only)

    Set a header for the CONNECT request (HTTP(S) proxies only)

    headers

    the headers, names are static but values are expressed as a Gatling Expression Language String

    returns

    a new Proxy instance

    Annotations
    @NonNull()
  10. def credentials(username: Function[Session, String], password: Function[Session, String]): Proxy

    Define some Basic Auth credentials for this proxy

    Define some Basic Auth credentials for this proxy

    username

    the username, expressed as a function

    password

    the password, expressed as a function

    returns

    a new Proxy instance

    Annotations
    @NonNull()
  11. def credentials(username: Function[Session, String], password: String): Proxy

    Define some username-password credentials for this proxy

    Define some username-password credentials for this proxy

    username

    the username, expressed as a function

    password

    the password, expressed as a Gatling Expression Language String

    returns

    a new Proxy instance

    Annotations
    @NonNull()
  12. def credentials(username: String, password: Function[Session, String]): Proxy

    Define some username-password credentials for this proxy

    Define some username-password credentials for this proxy

    username

    the username, expressed as a Gatling Expression Language String

    password

    the password, expressed as a function

    returns

    a new Proxy instance

    Annotations
    @NonNull()
  13. def credentials(username: String, password: String): Proxy

    Define some username-password credentials for this proxy

    Define some username-password credentials for this proxy

    username

    the username, expressed as a Gatling Expression Language String

    password

    the password, expressed as a Gatling Expression Language String

    returns

    a new Proxy instance

    Annotations
    @NonNull()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def http(): Proxy

    Define this proxy is an HTTP one (default)

    Define this proxy is an HTTP one (default)

    returns

    a new Proxy instance

    Annotations
    @NonNull()
  19. def https(): Proxy

    Define this proxy is an HTTPS one

    Define this proxy is an HTTPS one

    returns

    a new Proxy instance

    Annotations
    @NonNull()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def socks4(): Proxy

    Define this proxy is an SOCKS4 once

    Define this proxy is an SOCKS4 once

    returns

    a new Proxy instance

    Annotations
    @NonNull()
  25. def socks5(): Proxy

    Define this proxy is an SOCKS5 once

    Define this proxy is an SOCKS5 once

    returns

    a new Proxy instance

    Annotations
    @NonNull()
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped