Class SimulatorOptions.Builder
java.lang.Object
com.soklet.SimulatorOptions.Builder
- Enclosing class:
SimulatorOptions
Builder for
SimulatorOptions.
This class is intended for use by a single thread.
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSimulatorOptionsinstance.streamingResponseBodyLimitInBytes(@Nullable Integer streamingResponseBodyLimitInBytes) Sets the maximum number of streaming response bytes the simulator may materialize.
-
Method Details
-
streamingResponseBodyLimitInBytes
public @NonNull SimulatorOptions.Builder streamingResponseBodyLimitInBytes(@Nullable Integer streamingResponseBodyLimitInBytes) Sets the maximum number of streaming response bytes the simulator may materialize.- Parameters:
streamingResponseBodyLimitInBytes- the maximum number of bytes, ornullfor the default- Returns:
- this builder
-
build
Builds aSimulatorOptionsinstance.- Returns:
- simulator options
-