WebResponse

@JsonClass(generateAdapter = true)
data class WebResponse(@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 = "noResponseReceived") val noResponseReceived: Boolean? = null, @Json(name = "properties") val properties: PropertyBag? = null, @Json(name = "protocol") val protocol: String? = null, @Json(name = "reasonPhrase") val reasonPhrase: String? = null, @Json(name = "statusCode") val statusCode: Int? = null, @Json(name = "version") val version: String? = null)(source)

A web response associated with this thread flow location.

Describes the response to an HTTP request.

A web response associated with this result.

Since

0.12.0

Constructors

Link copied to clipboard
constructor(@Json(name = "body") body: ArtifactContent? = null, @Json(name = "headers") headers: Map<String, String>? = null, @Json(name = "index") index: Int? = null, @Json(name = "noResponseReceived") noResponseReceived: Boolean? = null, @Json(name = "properties") properties: PropertyBag? = null, @Json(name = "protocol") protocol: String? = null, @Json(name = "reasonPhrase") reasonPhrase: String? = null, @Json(name = "statusCode") statusCode: Int? = null, @Json(name = "version") version: String? = null)

Properties

Link copied to clipboard
val body: ArtifactContent? = null

The body of the response.

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

The response headers.

Link copied to clipboard
val index: Int? = null

The index within the run.webResponses array of the response object associated with this result.

Link copied to clipboard

Specifies whether a response was received from the server.

Link copied to clipboard
val properties: PropertyBag? = null

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

Link copied to clipboard
val protocol: String? = null

The response protocol. Example: 'http'.

Link copied to clipboard
val reasonPhrase: String? = null

The response reason. Example: 'Not found'.

Link copied to clipboard
val statusCode: Int? = null

The response status code. Example: 451.

Link copied to clipboard
val version: String? = null

The response version. Example: '1.1'.