Class MockServerClient.Builder

java.lang.Object
org.mockserver.client.MockServerClient.Builder
Enclosing class:
MockServerClient

public static final class MockServerClient.Builder extends Object
Fluent builder for MockServerClient.

Covers every dimension exposed by the MockServerClient constructors and with... setters:

The builder performs no construction work until build() is called, at which point it selects the matching constructor and applies the configured setters, so the resulting client is identical to one built directly. Validation (for example, the empty-host check) is inherited from the constructors and surfaces from build().