io.gatling.http.request.builder

AbstractHttpRequestBuilder

abstract class AbstractHttpRequestBuilder[B <: AbstractHttpRequestBuilder[B]] extends RequestBuilder[B]

This class serves as model for all HttpRequestBuilders

Linear Supertypes
RequestBuilder[B], StrictLogging, AbstractLogging, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AbstractHttpRequestBuilder
  2. RequestBuilder
  3. StrictLogging
  4. AbstractLogging
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

    httpAttributes

    the base HTTP attributes

Abstract Value Members

  1. abstract def request(protocol: HttpProtocol): (Session) ⇒ Validation[Request]

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def address(address: InetAddress): B

    Definition Classes
    RequestBuilder
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def asJSON: B

    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
  9. def asXML: B

    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
  10. def authRealm(realm: (Session) ⇒ Validation[Realm]): B

    Definition Classes
    RequestBuilder
  11. def basicAuth(username: (Session) ⇒ Validation[String], password: (Session) ⇒ Validation[String]): B

    Adds BASIC authentication to the request

    Adds BASIC authentication to the request

    username

    the username needed

    password

    the password needed

    Definition Classes
    RequestBuilder
  12. def body(bd: Body): B

  13. def bodyPart(bodyPart: BodyPart): B

  14. def build(protocol: HttpProtocol, throttled: Boolean): HttpRequestDef

    This method builds the request that will be sent

    This method builds the request that will be sent

    protocol

    the protocol of the current scenario

    throttled

    if throttling is enabled

  15. def check(checks: HttpCheck*): B

    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

  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def digestAuth(username: (Session) ⇒ Validation[String], password: (Session) ⇒ Validation[String]): B

    Definition Classes
    RequestBuilder
  18. def disableFollowRedirect: B

  19. def disableResponseChunksDiscarding: B

  20. def disableUrlEncoding: B

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

    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  23. def extraInfoExtractor(f: (ExtraInfo) ⇒ List[Any]): B

  24. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. def header(name: String, value: (Session) ⇒ Validation[String]): B

    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
  28. def headers(newHeaders: Map[String, String]): B

    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
  29. val httpAttributes: HttpAttributes

    the base HTTP attributes

  30. def ignoreDefaultChecks: B

    Ignore the default checks configured on HttpProtocol

  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. val logger: Logger

    Attributes
    protected
    Definition Classes
    StrictLogging → AbstractLogging
  33. def multivaluedQueryParam(key: (Session) ⇒ Validation[String], values: (Session) ⇒ Validation[Seq[Any]]): B

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

    Definition Classes
    AnyRef
  35. def notSilent: B

  36. final def notify(): Unit

    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  38. def ntlmAuth(username: (Session) ⇒ Validation[String], password: (Session) ⇒ Validation[String], ntlmDomain: (Session) ⇒ Validation[String], ntlmHost: (Session) ⇒ Validation[String]): B

    Definition Classes
    RequestBuilder
  39. def ntlmAuth(username: (Session) ⇒ Validation[String], password: (Session) ⇒ Validation[String]): B

    Definition Classes
    RequestBuilder
  40. def processRequestBody(processor: (Body) ⇒ Body): B

  41. def proxy(httpProxy: Proxy): B

    Definition Classes
    RequestBuilder
  42. def queryParam(key: (Session) ⇒ Validation[String], value: (Session) ⇒ Validation[Any]): B

    Definition Classes
    RequestBuilder
  43. def queryParamMap(map: (Session) ⇒ Validation[Map[String, Any]]): B

    Definition Classes
    RequestBuilder
  44. def queryParamMap(map: Map[String, Any]): B

    Definition Classes
    RequestBuilder
  45. def queryParamSeq(seq: (Session) ⇒ Validation[Seq[(String, Any)]]): B

    Definition Classes
    RequestBuilder
  46. def queryParamSeq(seq: Seq[(String, Any)]): B

    Definition Classes
    RequestBuilder
  47. def resources(res: AbstractHttpRequestBuilder[_]*): B

  48. def signatureCalculator(calculator: (Request, RequestBuilderBase[_]) ⇒ Unit): B

    Definition Classes
    RequestBuilder
  49. def signatureCalculator(calculator: SignatureCalculator): B

    Definition Classes
    RequestBuilder
  50. def signatureCalculator(calculator: (Session) ⇒ Validation[SignatureCalculator]): B

    Definition Classes
    RequestBuilder
  51. def silent: B

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

    Definition Classes
    AnyRef
  53. def toString(): String

    Definition Classes
    AnyRef → Any
  54. def transformResponse(responseTransformer: PartialFunction[Response, Response]): B

    responseTransformer

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

  55. def virtualHost(virtualHost: (Session) ⇒ Validation[String]): B

    virtualHost

    a virtual host to override default compute one

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from RequestBuilder[B]

Inherited from StrictLogging

Inherited from AbstractLogging

Inherited from AnyRef

Inherited from Any

Ungrouped