WebRequest

@JsonClass(generateAdapter = true)
data class WebRequest(    @Json(name = "body") val body: ArtifactContent? = null,     @Json(name = "headers") val headers: Map<String, String>? = null,     @Json(name = "index") val index: Int? = null,     @Json(name = "method") val method: String? = null,     @Json(name = "parameters") val parameters: Map<String, String>? = null,     @Json(name = "properties") val properties: PropertyBag? = null,     @Json(name = "protocol") val protocol: String? = null,     @Json(name = "target") val target: String? = null,     @Json(name = "version") val version: String? = null)

A web request associated with this thread flow location.

Describes an HTTP request.

A web request associated with this result.

Constructors

Link copied to clipboard
fun WebRequest(    @Json(name = "body") body: ArtifactContent? = null,     @Json(name = "headers") headers: Map<String, String>? = null,     @Json(name = "index") index: Int? = null,     @Json(name = "method") method: String? = null,     @Json(name = "parameters") parameters: Map<String, String>? = null,     @Json(name = "properties") properties: PropertyBag? = null,     @Json(name = "protocol") protocol: String? = null,     @Json(name = "target") target: String? = null,     @Json(name = "version") version: String? = null)

Properties

Link copied to clipboard
val body: ArtifactContent? = null

The body of the request.

Link copied to clipboard
val headers: Map<String, String>? = null

The request headers.

Link copied to clipboard
val index: Int? = null

The index within the run.webRequests array of the request object associated with this result.

Link copied to clipboard
val method: String? = null

The HTTP method. Well-known values are 'GET', 'PUT', 'POST', 'DELETE', 'PATCH', 'HEAD', 'OPTIONS', 'TRACE', 'CONNECT'.

Link copied to clipboard
val parameters: Map<String, String>? = null

The request parameters.

Link copied to clipboard
val properties: PropertyBag? = null

Key/value pairs that provide additional information about the request.

Link copied to clipboard
val protocol: String? = null

The request protocol. Example: 'http'.

Link copied to clipboard
val target: String? = null

The target of the request.

Link copied to clipboard
val version: String? = null

The request version. Example: '1.1'.

Sources

Link copied to clipboard