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 Details

    • CapturePropertyBuilder

      public CapturePropertyBuilder()
  • Method Details

    • enabled

      public Capture.CapturePropertyBuilder enabled(boolean value)
      Parameters:
      value - enabled state @return this builder
    • maxBodyBytes

      public Capture.CapturePropertyBuilder maxBodyBytes(int value)
      Parameters:
      value - maximum body size in bytes @return this builder
    • includeAssets

      public Capture.CapturePropertyBuilder includeAssets(boolean value)
      Parameters:
      value - whether to include asset requests @return this builder
    • firstPartyOnly

      public Capture.CapturePropertyBuilder firstPartyOnly(boolean value)
      Parameters:
      value - whether to capture only same-origin requests @return this builder
    • storeSecretsLocally

      public Capture.CapturePropertyBuilder storeSecretsLocally(boolean value)
      Parameters:
      value - whether to store secrets locally @return this builder
    • maxTransactions

      public Capture.CapturePropertyBuilder maxTransactions(int value)
      Parameters:
      value - maximum number of network transactions to retain per session @return this builder
    • urlIncludeGlobs

      public Capture.CapturePropertyBuilder urlIncludeGlobs(String value)
      Parameters:
      value - comma-separated URL include glob patterns @return this builder
    • urlExcludeGlobs

      public Capture.CapturePropertyBuilder urlExcludeGlobs(String value)
      Parameters:
      value - comma-separated URL exclude glob patterns @return this builder