-
@JsonClass(generateAdapter = true) public final class NetworkCapturedCall
-
-
Field Summary
Fields Modifier and Type Field Description private final Longdurationprivate final LongendTimeprivate final StringhttpMethodprivate final StringmatchedUrlprivate final StringnetworkIdprivate final StringrequestBodyprivate final IntegerrequestBodySizeprivate final StringrequestQueryprivate final Map<String, String>requestQueryHeadersprivate final IntegerrequestSizeprivate final StringresponseBodyprivate final IntegerresponseBodySizeprivate final Map<String, String>responseHeadersprivate final IntegerresponseSizeprivate final IntegerresponseStatusprivate final StringsessionIdprivate final LongstartTimeprivate final Stringurlprivate final StringerrorMessageprivate final StringencryptedPayload
-
Constructor Summary
Constructors Constructor Description NetworkCapturedCall(Long duration, Long endTime, String httpMethod, String matchedUrl, String networkId, String requestBody, Integer requestBodySize, String requestQuery, Map<String, String> requestQueryHeaders, Integer requestSize, String responseBody, Integer responseBodySize, Map<String, String> responseHeaders, Integer responseSize, Integer responseStatus, String sessionId, Long startTime, String url, String errorMessage, String encryptedPayload)
-
Method Summary
Modifier and Type Method Description final LonggetDuration()The duration of the network request in milliseconds. final LonggetEndTime()The end time of the request. final StringgetHttpMethod()The HTTP method the network request corresponds to. final StringgetMatchedUrl()The matched URL from the rule. final StringgetNetworkId()UUID identifying the network request captured. final StringgetRequestBody()Request body. final IntegergetRequestBodySize()Captured request body size in bytes. final StringgetRequestQuery()The query string for the request, if present. final Map<String, String>getRequestQueryHeaders()A dictionary containing the HTTP query headers. final IntegergetRequestSize()Request body size in bytes. final StringgetResponseBody()Contents of the body in a network request. final IntegergetResponseBodySize()Captured response body size in bytes. final Map<String, String>getResponseHeaders()A dictionary containing the HTTP response headers. final IntegergetResponseSize()Response body size in bytes. final IntegergetResponseStatus()UUID identifying the network request captured. final StringgetSessionId()Session ID that the network request occurred during. final LonggetStartTime()The start time of the request. final StringgetUrl()The URL being requested. final StringgetErrorMessage()Error message in case the network call has failed. final StringgetEncryptedPayload()Encrypted data. -
-
Constructor Detail
-
NetworkCapturedCall
NetworkCapturedCall(Long duration, Long endTime, String httpMethod, String matchedUrl, String networkId, String requestBody, Integer requestBodySize, String requestQuery, Map<String, String> requestQueryHeaders, Integer requestSize, String responseBody, Integer responseBodySize, Map<String, String> responseHeaders, Integer responseSize, Integer responseStatus, String sessionId, Long startTime, String url, String errorMessage, String encryptedPayload)
-
-
Method Detail
-
getDuration
final Long getDuration()
The duration of the network request in milliseconds.
-
getEndTime
final Long getEndTime()
The end time of the request.
-
getHttpMethod
final String getHttpMethod()
The HTTP method the network request corresponds to.
-
getMatchedUrl
final String getMatchedUrl()
The matched URL from the rule.
-
getNetworkId
final String getNetworkId()
UUID identifying the network request captured.
-
getRequestBody
final String getRequestBody()
Request body.
-
getRequestBodySize
final Integer getRequestBodySize()
Captured request body size in bytes.
-
getRequestQuery
final String getRequestQuery()
The query string for the request, if present.
-
getRequestQueryHeaders
final Map<String, String> getRequestQueryHeaders()
A dictionary containing the HTTP query headers.
-
getRequestSize
final Integer getRequestSize()
Request body size in bytes.
-
getResponseBody
final String getResponseBody()
Contents of the body in a network request.
-
getResponseBodySize
final Integer getResponseBodySize()
Captured response body size in bytes.
-
getResponseHeaders
final Map<String, String> getResponseHeaders()
A dictionary containing the HTTP response headers.
-
getResponseSize
final Integer getResponseSize()
Response body size in bytes.
-
getResponseStatus
final Integer getResponseStatus()
UUID identifying the network request captured.
-
getSessionId
final String getSessionId()
Session ID that the network request occurred during.
-
getStartTime
final Long getStartTime()
The start time of the request.
-
getErrorMessage
final String getErrorMessage()
Error message in case the network call has failed.
-
getEncryptedPayload
final String getEncryptedPayload()
Encrypted data.
-
-
-
-