WebResponse

@Serializable
data class WebResponse(val body: ArtifactContent? = null, val headers: Map<String, String>? = null, val index: Long? = null, val noResponseReceived: Boolean? = null, val properties: PropertyBag? = null, val protocol: String? = null, val reasonPhrase: String? = null, val statusCode: Long? = null, val version: String? = null)

A web response associated with this thread flow location.

Describes the response to an HTTP request.

A web response associated with this result.

Constructors

Link copied to clipboard
constructor(body: ArtifactContent? = null, headers: Map<String, String>? = null, index: Long? = null, noResponseReceived: Boolean? = null, properties: PropertyBag? = null, protocol: String? = null, reasonPhrase: String? = null, statusCode: Long? = null, 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: Long? = 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: Long? = null

The response status code. Example: 451.

Link copied to clipboard
val version: String? = null

The response version. Example: '1.1'.