c

au.com.dius.pact.consumer.dsl

PactDslRequestWithPath

class PactDslRequestWithPath extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PactDslRequestWithPath
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 body(body: Document): PactDslRequestWithPath

    The body of the request

    The body of the request

    body

    XML Document

  6. def body(body: DslPart): PactDslRequestWithPath

    The body of the request

    The body of the request

    body

    Built using the Pact body DSL

  7. def body(body: JSONObject): PactDslRequestWithPath

    The body of the request

    The body of the request

    body

    Request body in JSON form

  8. def body(body: Supplier[String], mimeType: ContentType): PactDslRequestWithPath

    The body of the request

    The body of the request

    body

    Request body in Java Functional Interface Supplier that must return a string

  9. def body(body: Supplier[String], mimeType: String): PactDslRequestWithPath

    The body of the request

    The body of the request

    body

    Request body in Java Functional Interface Supplier that must return a string

  10. def body(body: Supplier[String]): PactDslRequestWithPath

    The body of the request

    The body of the request

    body

    Request body in Java Functional Interface Supplier that must return a string

  11. def body(body: String, mimeType: ContentType): PactDslRequestWithPath

    The body of the request

    The body of the request

    body

    Request body in string form

  12. def body(body: String, mimeType: String): PactDslRequestWithPath

    The body of the request

    The body of the request

    body

    Request body in string form

  13. def body(body: String): PactDslRequestWithPath

    The body of the request

    The body of the request

    body

    Request body in string form

  14. def bodyWithSingleQuotes(body: String, mimeType: ContentType): PactDslRequestWithPath

    The body of the request with possible single quotes as delimiters and using QuoteUtil to convert single quotes to double quotes if required.

    The body of the request with possible single quotes as delimiters and using QuoteUtil to convert single quotes to double quotes if required.

    body

    Request body in string form

  15. def bodyWithSingleQuotes(body: String, mimeType: String): PactDslRequestWithPath

    The body of the request with possible single quotes as delimiters and using QuoteUtil to convert single quotes to double quotes if required.

    The body of the request with possible single quotes as delimiters and using QuoteUtil to convert single quotes to double quotes if required.

    body

    Request body in string form

  16. def bodyWithSingleQuotes(body: String): PactDslRequestWithPath

    The body of the request with possible single quotes as delimiters and using QuoteUtil to convert single quotes to double quotes if required.

    The body of the request with possible single quotes as delimiters and using QuoteUtil to convert single quotes to double quotes if required.

    body

    Request body in string form

  17. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  23. def headers(headers: Map[String, String]): PactDslRequestWithPath

    Headers to be included in the request

    Headers to be included in the request

    headers

    Key-value pairs

  24. def headers(firstHeaderName: String, firstHeaderValue: String, headerNameValuePairs: <repeated...>[String]): PactDslRequestWithPath

    Headers to be included in the request

    Headers to be included in the request

    firstHeaderName

    The name of the first header

    firstHeaderValue

    The value of the first header

    headerNameValuePairs

    Additional headers in name-value pairs.

  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def matchHeader(header: String, regex: String, headerExample: String): PactDslRequestWithPath

    Match a request header.

    Match a request header.

    header

    Header to match

    regex

    Regular expression to match

    headerExample

    Example value to use

  27. def matchHeader(header: String, regex: String): PactDslRequestWithPath

    Match a request header.

    Match a request header. A random example header value will be generated from the provided regular expression.

    header

    Header to match

    regex

    Regular expression to match

  28. def matchPath(pathRegex: String, path: String): PactDslRequestWithPath

    The path of the request

    The path of the request

    pathRegex

    regular expression to use to match paths

    path

    string path to use when generating requests

  29. def matchPath(pathRegex: String): PactDslRequestWithPath

    The path of the request.

    The path of the request. This will generate a random path to use when generating requests

    pathRegex

    string path regular expression to match with

  30. def matchQuery(parameter: String, regex: String, example: String): PactDslRequestWithPath

    Match a query parameter with a regex.

    Match a query parameter with a regex.

    parameter

    Query parameter

    regex

    Regular expression to match with

    example

    Example value to use for the query parameter

  31. def matchQuery(parameter: String, regex: String): PactDslRequestWithPath

    Match a query parameter with a regex.

    Match a query parameter with a regex. A random query parameter value will be generated from the regex.

    parameter

    Query parameter

    regex

    Regular expression to match with

  32. def method(method: String): PactDslRequestWithPath

    The HTTP method for the request

    The HTTP method for the request

    method

    Valid HTTP method

  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  36. def path(path: String): PactDslRequestWithPath

    The path of the request

    The path of the request

    path

    string path

  37. def query(query: String): PactDslRequestWithPath

    The query string for the request

    The query string for the request

    query

    query string

  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def willRespondWith(): PactDslResponse

    Define the response to return

Inherited from AnyRef

Inherited from Any

Ungrouped