ScrapeResults

internal class ScrapeResults(val srAgentId: String, val srScrapeId: Long, val srValidResponse: Boolean = false, val srStatusCode: Int = ServiceUnavailable.value, val srContentType: String = "", val srZipped: Boolean = false, val srContentAsText: String = "", val srContentAsZipped: ByteArray = EMPTY_BYTE_ARRAY, val srFailureReason: String = "", val srUrl: String = "", val scrapeCounterMsg: String = "")(source)

Constructors

Link copied to clipboard
constructor(srAgentId: String, srScrapeId: Long, srValidResponse: Boolean = false, srStatusCode: Int = ServiceUnavailable.value, srContentType: String = "", srZipped: Boolean = false, srContentAsText: String = "", srContentAsZipped: ByteArray = EMPTY_BYTE_ARRAY, srFailureReason: String = "", srUrl: String = "", scrapeCounterMsg: String = "")

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun toScrapeResponse(): ScrapeResponse
Link copied to clipboard
fun toScrapeResponseHeader(): ChunkedScrapeResponse