Class/Object

io.gatling.http.request.builder

HttpRequestBuilder

Related Docs: object HttpRequestBuilder | package builder

Permalink

case class HttpRequestBuilder(commonAttributes: CommonAttributes, httpAttributes: HttpAttributes) extends RequestBuilder[HttpRequestBuilder] with Product with Serializable

This class serves as model for all HttpRequestBuilders

httpAttributes

the base HTTP attributes

Linear Supertypes
Serializable, Serializable, Product, Equals, RequestBuilder[HttpRequestBuilder], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpRequestBuilder
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. RequestBuilder
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HttpRequestBuilder(commonAttributes: CommonAttributes, httpAttributes: HttpAttributes)

    Permalink

    httpAttributes

    the base HTTP attributes

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def asFormUrlEncoded: HttpRequestBuilder

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def asJSON: HttpRequestBuilder

    Permalink

    Adds Accept and Content-Type headers to the request set with "application/json" values

    Adds Accept and Content-Type headers to the request set with "application/json" values

    Definition Classes
    RequestBuilder
  7. def asMultipartForm: HttpRequestBuilder

    Permalink

    Adds Content-Type header to the request set with "multipart/form-data" value

  8. def asXML: HttpRequestBuilder

    Permalink

    Adds Accept and Content-Type headers to the request set with "application/xml" values

    Adds Accept and Content-Type headers to the request set with "application/xml" values

    Definition Classes
    RequestBuilder
  9. def authRealm(realm: Expression[Realm]): HttpRequestBuilder

    Permalink
    Definition Classes
    RequestBuilder
  10. def basicAuth(username: Expression[String], password: Expression[String]): HttpRequestBuilder

    Permalink

    Adds BASIC authentication to the request

    Adds BASIC authentication to the request

    username

    the username needed

    password

    the password needed

    Definition Classes
    RequestBuilder
  11. def body(bd: Body): HttpRequestBuilder

    Permalink
  12. def bodyPart(bodyPart: BodyPart): HttpRequestBuilder

    Permalink
  13. def build(coreComponents: CoreComponents, httpComponents: HttpComponents, throttled: Boolean): HttpRequestDef

    Permalink

    This method builds the request that will be sent

    This method builds the request that will be sent

    coreComponents

    the CoreComponents

    httpComponents

    the HttpComponents

    throttled

    if throttling is enabled

  14. def check(checks: HttpCheck*): HttpRequestBuilder

    Permalink

    Stops defining the request and adds checks on the response

    Stops defining the request and adds checks on the response

    checks

    the checks that will be performed on the response

  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. val commonAttributes: CommonAttributes

    Permalink
    Definition Classes
    HttpRequestBuilderRequestBuilder
  17. def digestAuth(username: Expression[String], password: Expression[String]): HttpRequestBuilder

    Permalink
    Definition Classes
    RequestBuilder
  18. def disableFollowRedirect: HttpRequestBuilder

    Permalink
  19. def disableResponseChunksDiscarding: HttpRequestBuilder

    Permalink
  20. def disableUrlEncoding: HttpRequestBuilder

    Permalink
    Definition Classes
    RequestBuilder
  21. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def extraInfoExtractor(f: ExtraInfoExtractor): HttpRequestBuilder

    Permalink
  23. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def form(form: Expression[Map[String, Seq[String]]]): HttpRequestBuilder

    Permalink
  25. def formParam(key: Expression[String], value: Expression[Any]): HttpRequestBuilder

    Permalink
  26. def formParamMap(map: Expression[Map[String, Any]]): HttpRequestBuilder

    Permalink
  27. def formParamMap(map: Map[String, Any]): HttpRequestBuilder

    Permalink
  28. def formParamSeq(seq: Expression[Seq[(String, Any)]]): HttpRequestBuilder

    Permalink
  29. def formParamSeq(seq: Seq[(String, Any)]): HttpRequestBuilder

    Permalink
  30. def formUpload(name: Expression[String], filePath: Expression[String])(implicit rawFileBodies: RawFileBodies): HttpRequestBuilder

    Permalink
  31. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  32. def header(name: String, value: Expression[String]): HttpRequestBuilder

    Permalink

    Adds a header to the request

    Adds a header to the request

    name

    the name of the header

    value

    the value of the header

    Definition Classes
    RequestBuilder
  33. def headers(newHeaders: Map[String, String]): HttpRequestBuilder

    Permalink

    Adds several headers to the request at the same time

    Adds several headers to the request at the same time

    newHeaders

    a scala map containing the headers to add

    Definition Classes
    RequestBuilder
  34. val httpAttributes: HttpAttributes

    Permalink

    the base HTTP attributes

  35. def ignoreDefaultChecks: HttpRequestBuilder

    Permalink

    Ignore the default checks configured on HttpProtocol

  36. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  37. def multivaluedFormParam(key: Expression[String], values: Expression[Seq[Any]]): HttpRequestBuilder

    Permalink
  38. def multivaluedQueryParam(key: Expression[String], values: Expression[Seq[Any]]): HttpRequestBuilder

    Permalink
    Definition Classes
    RequestBuilder
  39. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  40. def notSilent: HttpRequestBuilder

    Permalink
  41. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  43. def ntlmAuth(username: Expression[String], password: Expression[String], ntlmDomain: Expression[String], ntlmHost: Expression[String]): HttpRequestBuilder

    Permalink
    Definition Classes
    RequestBuilder
  44. def processRequestBody(processor: (Body) ⇒ Body): HttpRequestBuilder

    Permalink
  45. def proxy(httpProxy: Proxy): HttpRequestBuilder

    Permalink
    Definition Classes
    RequestBuilder
  46. def queryParam(key: Expression[String], value: Expression[Any]): HttpRequestBuilder

    Permalink
    Definition Classes
    RequestBuilder
  47. def queryParamMap(map: Expression[Map[String, Any]]): HttpRequestBuilder

    Permalink
    Definition Classes
    RequestBuilder
  48. def queryParamMap(map: Map[String, Any]): HttpRequestBuilder

    Permalink
    Definition Classes
    RequestBuilder
  49. def queryParamSeq(seq: Expression[Seq[(String, Any)]]): HttpRequestBuilder

    Permalink
    Definition Classes
    RequestBuilder
  50. def queryParamSeq(seq: Seq[(String, Any)]): HttpRequestBuilder

    Permalink
    Definition Classes
    RequestBuilder
  51. def resources(res: HttpRequestBuilder*): HttpRequestBuilder

    Permalink
  52. def signatureCalculator(calculator: (Request, RequestBuilderBase[_]) ⇒ Unit): HttpRequestBuilder

    Permalink
    Definition Classes
    RequestBuilder
  53. def signatureCalculator(calculator: SignatureCalculator): HttpRequestBuilder

    Permalink
    Definition Classes
    RequestBuilder
  54. def signatureCalculator(calculator: Expression[SignatureCalculator]): HttpRequestBuilder

    Permalink
    Definition Classes
    RequestBuilder
  55. def silent: HttpRequestBuilder

    Permalink
  56. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  57. def transformResponse(responseTransformer: PartialFunction[Response, Response]): HttpRequestBuilder

    Permalink

    responseTransformer

    transforms the response before it's handled to the checks pipeline

  58. def virtualHost(virtualHost: Expression[String]): HttpRequestBuilder

    Permalink

    virtualHost

    a virtual host to override default compute one

    Definition Classes
    RequestBuilder
  59. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped