c

io.gatling.javaapi.http

RequestActionBuilder

abstract class RequestActionBuilder[T <: RequestActionBuilder[T, W], W <: RequestBuilder[W]] extends ActionBuilder

Base DSL for HTTP, WebSocket and SSE requests

Linear Supertypes
ActionBuilder, Executable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RequestActionBuilder
  2. ActionBuilder
  3. Executable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def asScala(): ActionBuilder
    Definition Classes
    ActionBuilder
  2. abstract def make(f: Function[W, W]): T
    Attributes
    protected[http]

Concrete 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 basicAuth(username: Function[Session, String], password: Function[Session, String]): T

    Set the authorization header for Basic Auth

    Set the authorization header for Basic Auth

    username

    the username, expressed as a function

    password

    the password, expressed as a function

    returns

    a new DSL instance

    Annotations
    @NonNull()
  6. def basicAuth(username: Function[Session, String], password: String): T

    Set the authorization header for Basic Auth

    Set the authorization header for Basic Auth

    username

    the username, expressed as a function

    password

    the password, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Annotations
    @NonNull()
  7. def basicAuth(username: String, password: Function[Session, String]): T

    Set the authorization header for Basic Auth

    Set the authorization header for Basic Auth

    username

    the username, expressed as a Gatling Expression Language String

    password

    the password, expressed as a function

    returns

    a new DSL instance

    Annotations
    @NonNull()
  8. def basicAuth(username: String, password: String): T

    Set the authorization header for Basic Auth

    Set the authorization header for Basic Auth

    username

    the username, expressed as a Gatling Expression Language String

    password

    the password, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Annotations
    @NonNull()
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def digestAuth(username: Function[Session, String], password: Function[Session, String]): T

    Set the authorization header for Digest Auth

    Set the authorization header for Digest Auth

    username

    the username, expressed as a function

    password

    the password, expressed as a function

    returns

    a new DSL instance

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

    Set the authorization header for Digest Auth

    Set the authorization header for Digest Auth

    username

    the username, expressed as a function

    password

    the password, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

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

    Set the authorization header for Digest Auth

    Set the authorization header for Digest Auth

    username

    the username, expressed as a Gatling Expression Language String

    password

    the password, expressed as a function

    returns

    a new DSL instance

    Annotations
    @NonNull()
  13. def digestAuth(username: String, password: String): T

    Set the authorization header for Digest Auth

    Set the authorization header for Digest Auth

    username

    the username, expressed as a Gatling Expression Language String

    password

    the password, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Annotations
    @NonNull()
  14. def disableUrlEncoding(): T

    Disable the automatic url encoding that tries to detect unescaped reserved chars

    Disable the automatic url encoding that tries to detect unescaped reserved chars

    returns

    a new DSL instance

    Annotations
    @NonNull()
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def header(name: CharSequence, value: Function[Session, String]): T

    Set a header

    Set a header

    name

    the static header name

    value

    the header value, expressed as a function

    returns

    a new DSL instance

    Annotations
    @NonNull()
  20. def header(name: CharSequence, value: String): T

    Set a header

    Set a header

    name

    the static header name

    value

    the header value, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Annotations
    @NonNull()
  21. def headers(headers: Map[_ <: CharSequence, String]): T

    Set multiple headers

    Set multiple headers

    headers

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

    returns

    a new DSL instance

    Annotations
    @NonNull()
  22. def ignoreProtocolHeaders(): T

    Ignore common headers set in the Http protocol configuration

    Ignore common headers set in the Http protocol configuration

    returns

    a new DSL instance

    Annotations
    @NonNull()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def multivaluedQueryParam(name: Function[Session, String], values: Function[Session, List[AnyRef]]): T

    Set a multivalued query parameter

    Set a multivalued query parameter

    name

    the name of the parameter, expressed as a function

    values

    the list of values of the parameter, expressed as a function

    returns

    a new DSL instance

    Annotations
    @NonNull()
  25. def multivaluedQueryParam(name: String, values: Function[Session, List[AnyRef]]): T

    Set a multivalued query parameter

    Set a multivalued query parameter

    name

    the name of the parameter, expressed as a Gatling Expression Language String

    values

    the list of values of the parameter, expressed as a function

    returns

    a new DSL instance

    Annotations
    @NonNull()
  26. def multivaluedQueryParam(name: Function[Session, String], values: String): T

    Set a multivalued query parameter

    Set a multivalued query parameter

    name

    the name of the parameter, expressed as a function

    values

    the list of values of the parameter, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Annotations
    @NonNull()
  27. def multivaluedQueryParam(name: String, values: String): T

    Set a multivalued query parameter

    Set a multivalued query parameter

    name

    the name of the parameter, expressed as a Gatling Expression Language String

    values

    the list of values of the parameter, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Annotations
    @NonNull()
  28. def multivaluedQueryParam(name: Function[Session, String], values: List[AnyRef]): T

    Set a multivalued query parameter

    Set a multivalued query parameter

    name

    the name of the parameter, expressed as a function

    values

    the static list of values of the parameter

    returns

    a new DSL instance

    Annotations
    @NonNull()
  29. def multivaluedQueryParam(name: String, values: List[AnyRef]): T

    Set a multivalued query parameter

    Set a multivalued query parameter

    name

    the name of the parameter, expressed as a Gatling Expression Language String

    values

    the static list of values of the parameter

    returns

    a new DSL instance

    Annotations
    @NonNull()
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. def proxy(proxy: Proxy): T

    Define a Proxy to be used for this request

    Define a Proxy to be used for this request

    proxy

    the proxy

    returns

    a new DSL instance

    Annotations
    @NonNull()
  34. def queryParam(name: Function[Session, String], value: Function[Session, AnyRef]): T

    Set some query parameter

    Set some query parameter

    name

    the name of the parameter, expressed as a function

    value

    the value of the parameter, expressed as a function

    returns

    a new DSL instance

    Annotations
    @NonNull()
  35. def queryParam(name: String, value: Function[Session, AnyRef]): T

    Set some query parameter

    Set some query parameter

    name

    the name of the parameter, expressed as a Gatling Expression Language String

    value

    the value of the parameter, expressed as a function

    returns

    a new DSL instance

    Annotations
    @NonNull()
  36. def queryParam(name: Function[Session, String], value: AnyRef): T

    Set some query parameter

    Set some query parameter

    name

    the name of the parameter, expressed as a function

    value

    the static value of the parameter

    returns

    a new DSL instance

    Annotations
    @NonNull()
  37. def queryParam(name: String, value: AnyRef): T

    Set some query parameter

    Set some query parameter

    name

    the name of the parameter, expressed as a Gatling Expression Language String

    value

    the static value of the parameter

    returns

    a new DSL instance

    Annotations
    @NonNull()
  38. def queryParam(name: Function[Session, String], value: String): T

    Set some query parameter

    Set some query parameter

    name

    the name of the parameter, expressed as a function

    value

    the value of the parameter, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Annotations
    @NonNull()
  39. def queryParam(name: String, value: String): T

    Set some query parameter

    Set some query parameter

    name

    the name of the parameter, expressed as a Gatling Expression Language String

    value

    the value of the parameter, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Annotations
    @NonNull()
  40. def queryParamMap(map: Function[Session, Map[String, AnyRef]]): T

    Set multiple query params

    Set multiple query params

    map

    a Map of query params, expressed as a function

    returns

    a new DSL instance

    Annotations
    @NonNull()
  41. def queryParamMap(map: String): T

    Set multiple query params

    Set multiple query params

    map

    a Map of query params, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Annotations
    @NonNull()
  42. def queryParamMap(map: Map[String, AnyRef]): T

    Set multiple query params

    Set multiple query params

    map

    a static Map of query params

    returns

    a new DSL instance

    Annotations
    @NonNull()
  43. def queryParamSeq(seq: Function[Session, List[Entry[String, AnyRef]]]): T

    Set multiple query params

    Set multiple query params

    seq

    a List of query params, expressed as a function

    returns

    a new DSL instance

    Annotations
    @NonNull()
  44. def queryParamSeq(seq: String): T

    Set multiple query params

    Set multiple query params

    seq

    a List of query params, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Annotations
    @NonNull()
  45. def queryParamSeq(seq: List[Entry[String, AnyRef]]): T

    Set multiple query params

    Set multiple query params

    seq

    a static List of query params

    returns

    a new DSL instance

    Annotations
    @NonNull()
  46. def sign(calculator: BiFunction[Request, Session, Request]): T

    Provide a function to sign the requests before writing them on the wire.

    Provide a function to sign the requests before writing them on the wire. This version provides access to the session.

    calculator

    the signing function

    returns

    a new DSL instance

    Annotations
    @NonNull()
  47. def sign(calculator: Function[Request, Request]): T

    Provide a function to sign the requests before writing them on the wire

    Provide a function to sign the requests before writing them on the wire

    calculator

    the signing function

    returns

    a new DSL instance

    Annotations
    @NonNull()
  48. def signWithOAuth1(consumerKey: Function[Session, String], clientSharedSecret: Function[Session, String], token: Function[Session, String], tokenSecret: Function[Session, String]): T

    Instruct sign the request with OAuth1 before writing it on the wire

    Instruct sign the request with OAuth1 before writing it on the wire

    consumerKey

    the consumerKey, expressed as a function

    clientSharedSecret

    the clientSharedSecret, expressed as a function

    token

    the token, expressed as a function

    tokenSecret

    the tokenSecret, expressed as a function

    returns

    a new DSL instance

    Annotations
    @NonNull()
  49. def signWithOAuth1(consumerKey: String, clientSharedSecret: String, token: String, tokenSecret: String): T

    Instruct sign the request with OAuth1 before writing it on the wire

    Instruct sign the request with OAuth1 before writing it on the wire

    consumerKey

    the consumerKey, expressed as a Gatling Expression Language String

    clientSharedSecret

    the clientSharedSecret, expressed as a Gatling Expression Language String

    token

    the token, expressed as a Gatling Expression Language String

    tokenSecret

    the tokenSecret, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Annotations
    @NonNull()
  50. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  51. def toChainBuilder(): ChainBuilder
    Definition Classes
    ActionBuilder → Executable
  52. def toString(): String
    Definition Classes
    AnyRef → Any
  53. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. 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 ActionBuilder

Inherited from Executable

Inherited from AnyRef

Inherited from Any

Ungrouped