Class Capture.CapturePropertyBuilder
java.lang.Object
com.shaft.properties.internal.Capture.CapturePropertyBuilder
- All Implemented Interfaces:
EngineProperties.SetProperty
- Enclosing interface:
Capture
public static class Capture.CapturePropertyBuilder
extends Object
implements EngineProperties.SetProperty
Fluent current-thread overrides for API capture recording.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionenabled(boolean value) firstPartyOnly(boolean value) includeAssets(boolean value) maxBodyBytes(int value) maxTransactions(int value) storeSecretsLocally(boolean value) urlExcludeGlobs(String value) urlIncludeGlobs(String value) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EngineProperties.SetProperty
logPropertyUpdate
-
Constructor Details
-
CapturePropertyBuilder
public CapturePropertyBuilder()
-
-
Method Details
-
enabled
- Parameters:
value- enabled state @return this builder
-
maxBodyBytes
- Parameters:
value- maximum body size in bytes @return this builder
-
includeAssets
- Parameters:
value- whether to include asset requests @return this builder
-
firstPartyOnly
- Parameters:
value- whether to capture only same-origin requests @return this builder
-
storeSecretsLocally
- Parameters:
value- whether to store secrets locally @return this builder
-
maxTransactions
- Parameters:
value- maximum number of network transactions to retain per session @return this builder
-
urlIncludeGlobs
- Parameters:
value- comma-separated URL include glob patterns @return this builder
-
urlExcludeGlobs
- Parameters:
value- comma-separated URL exclude glob patterns @return this builder
-