RequestSpecificationBuilder

open class RequestSpecificationBuilder<P : Any>(requestType: KClass<P>)

Constructors

Link copied to clipboard
constructor(requestType: KClass<P>)

Properties

Link copied to clipboard
val body: MutableList<<Error class: unknown class><P?>>
Link copied to clipboard
val bodyString: MutableList<<Error class: unknown class><String?>>
Link copied to clipboard
var headers: MutableList<<Error class: unknown class><<Error class: unknown class>>>
Link copied to clipboard
var path: <Error class: unknown class><String>?
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard

Adds a predicate to match against the request body.

Link copied to clipboard

Adds multiple predicates to match against the request body. Each predicate will be applied to evaluate whether the request body satisfies the specified conditions.

Link copied to clipboard
fun bodyString(matcher: <Error class: unknown class><String?>): RequestSpecificationBuilder<P>
Link copied to clipboard
fun containsHeader(headerName: String, headerValue: String): RequestSpecificationBuilder<P>
Link copied to clipboard
fun method(matcher: <Error class: unknown class><<Error class: unknown class>>): RequestSpecificationBuilder<P>
Link copied to clipboard
fun path(matcher: <Error class: unknown class><String>): RequestSpecificationBuilder<P>
Link copied to clipboard