-
@JsonClass(generateAdapter = true) public final class NetworkCaptureRuleRemoteConfigCriteria to determine if a network body call should be captured or not.
-
-
Method Summary
Modifier and Type Method Description final StringgetId()Rule id final LonggetDuration()Duration of the network call in milliseconds. final StringgetMethod()Http method to be captured. final StringgetUrlRegex()Url regex. final LonggetExpiresIn()Remaining milliseconds until the rule expires. final LonggetMaxSize()Maximum size of the network body. final IntegergetMaxCount()How many times this rule should be applied. final Set<Integer>getStatusCodes()Status codes to be captured. -
-
Method Detail
-
getDuration
final Long getDuration()
Duration of the network call in milliseconds. Disregard if it is less than 5000ms.
-
getUrlRegex
final String getUrlRegex()
Url regex. If the url matches this the call must be captured.
-
getExpiresIn
final Long getExpiresIn()
Remaining milliseconds until the rule expires.
-
getMaxSize
final Long getMaxSize()
Maximum size of the network body. The data must be trimmed if it exceeds it.
-
getMaxCount
final Integer getMaxCount()
How many times this rule should be applied.
-
getStatusCodes
final Set<Integer> getStatusCodes()
Status codes to be captured. -1 for capturing fail network requests.
-
-
-
-