StandardWebTestRequestArgs

data class StandardWebTestRequestArgs(val body: Output<String>? = null, val followRedirectsEnabled: Output<Boolean>? = null, val headers: Output<List<StandardWebTestRequestHeaderArgs>>? = null, val httpVerb: Output<String>? = null, val parseDependentRequestsEnabled: Output<Boolean>? = null, val url: Output<String>) : ConvertibleToJava<StandardWebTestRequestArgs>

Constructors

Link copied to clipboard
constructor(body: Output<String>? = null, followRedirectsEnabled: Output<Boolean>? = null, headers: Output<List<StandardWebTestRequestHeaderArgs>>? = null, httpVerb: Output<String>? = null, parseDependentRequestsEnabled: Output<Boolean>? = null, url: Output<String>)

Properties

Link copied to clipboard
val body: Output<String>? = null

The WebTest request body.

Link copied to clipboard
val followRedirectsEnabled: Output<Boolean>? = null

Should the following of redirects be enabled? Defaults to true.

Link copied to clipboard

One or more header blocks as defined above.

Link copied to clipboard
val httpVerb: Output<String>? = null

Which HTTP verb to use for the call. Options are 'GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'HEAD', and 'OPTIONS'. Defaults to GET.

Link copied to clipboard

Should the parsing of dependend requests be enabled? Defaults to true.

Link copied to clipboard
val url: Output<String>

The WebTest request URL.

Functions

Link copied to clipboard
open override fun toJava(): StandardWebTestRequestArgs