c

io.gatling.javaapi.http

RequestWithBodyActionBuilder

abstract class RequestWithBodyActionBuilder[T <: RequestWithBodyActionBuilder[T, W], W <: RequestWithBodyBuilder[W]] extends RequestActionBuilder[T, W]

Linear Supertypes
RequestActionBuilder[T, W], ActionBuilder, Executable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RequestWithBodyActionBuilder
  2. RequestActionBuilder
  3. ActionBuilder
  4. Executable
  5. AnyRef
  6. 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]
    Definition Classes
    RequestActionBuilder

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. def asFormUrlEncoded(): T

    Set the content-type header for form-urlencoding body.

    Set the content-type header for form-urlencoding body.

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def asJson(): T

    Set the content-type header for JSON

    Set the content-type header for JSON

    returns

    a new DSL instance

    Annotations
    @NonNull()
  7. def asMultipartForm(): T

    Set the content-type header for multipart body.

    Set the content-type header for multipart body.

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  8. def asXml(): T

    Set the content-type header for XML

    Set the content-type header for XML

    returns

    a new DSL instance

    Annotations
    @NonNull()
  9. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  10. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  11. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  12. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  13. def body(body: Body): T

    Define a request body

    Define a request body

    body

    the request body

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  14. def bodyPart(part: BodyPart): T

    Set a multipart body part

    Set a multipart body part

    part

    the part

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  15. def bodyParts(parts: List[BodyPart]): T

    Set multiple multipart body parts

    Set multiple multipart body parts

    parts

    the parts

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  16. def bodyParts(parts: <repeated...>[BodyPart]): T

    Set multiple multipart body parts

    Set multiple multipart body parts

    parts

    the parts

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  18. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  19. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  20. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  21. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  22. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  25. def form(map: Function[Session, Map[String, AnyRef]]): T

    Set a form, typically captured from a form check

    Set a form, typically captured from a form check

    map

    the form inputs, expressed as a function

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  26. def form(form: String): T

    Set a form, typically captured from a form check

    Set a form, typically captured from a form check

    form

    the form inputs, expressed as a Gatling Expression Language String

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  27. def formParam(key: Function[Session, String], value: Function[Session, AnyRef]): T

    Set an HTML form parameter

    Set an HTML form parameter

    key

    the parameter key, expressed as a function

    value

    the parameter value, expressed as a function

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  28. def formParam(key: String, value: Function[Session, AnyRef]): T

    Set an HTML form parameter

    Set an HTML form parameter

    key

    the parameter key, expressed as a Gatling Expression Language String

    value

    the parameter value, expressed as a function

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  29. def formParam(key: Function[Session, String], value: AnyRef): T

    Set an HTML form parameter

    Set an HTML form parameter

    key

    the parameter key, expressed as a function

    value

    the parameter static value

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  30. def formParam(key: String, value: AnyRef): T

    Set an HTML form parameter

    Set an HTML form parameter

    key

    the parameter key, expressed as a Gatling Expression Language String

    value

    the parameter static value

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  31. def formParam(key: Function[Session, String], value: String): T

    Set an HTML form parameter

    Set an HTML form parameter

    key

    the parameter key, expressed as a function

    value

    the parameter value, expressed as a Gatling Expression Language String

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  32. def formParam(key: String, value: String): T

    Set an HTML form parameter

    Set an HTML form parameter

    key

    the parameter key, expressed as a Gatling Expression Language String

    value

    the parameter value, expressed as a Gatling Expression Language String

    returns

    a new HttpRequestActionBuilder instance

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

    Set multiple form parameters

    Set multiple form parameters

    map

    the parameters, expressed as a function

    returns

    a new HttpRequestActionBuilder instance

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

    Set multiple form parameters

    Set multiple form parameters

    map

    the static parameters

    returns

    a new HttpRequestActionBuilder instance

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

    Set multiple form parameters

    Set multiple form parameters

    seq

    the parameters, expressed as a function

    returns

    a new HttpRequestActionBuilder instance

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

    Set multiple form parameters

    Set multiple form parameters

    seq

    the static parameters

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  37. def formUpload(name: Function[Session, String], filePath: Function[Session, String]): T

    Set a form file upload

    Set a form file upload

    name

    the name of the file part, expressed as a function

    filePath

    the path of the file, either relative to the root of the classpath, or absolute, expressed as a function

    returns

    a new HttpRequestActionBuilder instance

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

    Set a form file upload

    Set a form file upload

    name

    the name of the file part, expressed as a Gatling Expression Language String

    filePath

    the path of the file, either relative to the root of the classpath, or absolute, expressed as a function

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  39. def formUpload(name: Function[Session, String], filePath: String): T

    Set a form file upload

    Set a form file upload

    name

    the name of the file part, expressed as a function

    filePath

    the path of the file, either relative to the root of the classpath, or absolute, expressed as a Gatling Expression Language String

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  40. def formUpload(name: String, filePath: String): T

    Set a form file upload

    Set a form file upload

    name

    the name of the file part, expressed as a Gatling Expression Language String

    filePath

    the path of the file, either relative to the root of the classpath, or absolute, expressed as a Gatling Expression Language String

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  41. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  42. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  43. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  44. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  45. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  46. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  47. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  48. def multivaluedFormParam(key: Function[Session, String], values: Function[Session, List[AnyRef]]): T

    Set an HTML form multivalued parameter

    Set an HTML form multivalued parameter

    key

    the parameter key, expressed as a function

    values

    the parameter values, expressed as a function

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  49. def multivaluedFormParam(key: String, values: Function[Session, List[AnyRef]]): T

    Set an HTML form multivalued parameter

    Set an HTML form multivalued parameter

    key

    the parameter key, expressed as a Gatling Expression Language String

    values

    the parameter values, expressed as a function

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  50. def multivaluedFormParam(key: Function[Session, String], values: List[AnyRef]): T

    Set an HTML form multivalued parameter

    Set an HTML form multivalued parameter

    key

    the parameter key, expressed as a function

    values

    the static parameter values

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  51. def multivaluedFormParam(key: String, values: String): T

    Set an HTML form multivalued parameter

    Set an HTML form multivalued parameter

    key

    the parameter key, expressed as a Gatling Expression Language String

    values

    the parameter values, as a Gatling EL string

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  52. def multivaluedFormParam(key: String, values: List[AnyRef]): T

    Set an HTML form multivalued parameter

    Set an HTML form multivalued parameter

    key

    the parameter key, expressed as a Gatling Expression Language String

    values

    the static parameter values

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  53. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  54. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  55. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  56. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  57. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  58. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  59. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  60. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  61. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  62. def processRequestBody(processor: Function[Body, _ <: Body]): T

    Define to transform the request body before writing it on the wire

    Define to transform the request body before writing it on the wire

    processor

    the processing function

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  63. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  64. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  65. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  66. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  67. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  68. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  69. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  70. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  71. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  72. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  73. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  74. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  75. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  76. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  77. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  78. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  79. 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

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  80. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  81. def toChainBuilder(): ChainBuilder
    Definition Classes
    ActionBuilder → Executable
  82. def toString(): String
    Definition Classes
    AnyRef → Any
  83. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  84. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  85. 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 RequestActionBuilder[T, W]

Inherited from ActionBuilder

Inherited from Executable

Inherited from AnyRef

Inherited from Any

Ungrouped