Uses of Class
org.mockserver.client.MockServerClient.Builder
Packages that use MockServerClient.Builder
-
Uses of MockServerClient.Builder in org.mockserver.client
Methods in org.mockserver.client that return MockServerClient.BuilderModifier and TypeMethodDescriptionstatic MockServerClient.BuilderMockServerClient.builder()Create a fluentMockServerClient.Builderfor constructing aMockServerClient.MockServerClient.Builder.configuration(ClientConfiguration configuration) Use the givenClientConfiguration.MockServerClient.Builder.configuration(Configuration configuration) Use the givenConfiguration, wrapped as aClientConfiguration(the same conversion theMockServerClient(Configuration, ...)constructors perform).MockServerClient.Builder.contextPath(String contextPath) The context path that the MockServer war is deployed to.MockServerClient.Builder.controlPlaneJWT(String controlPlaneJWT) A fixed JWT for control plane authorisation.MockServerClient.Builder.controlPlaneJWT(Supplier<String> controlPlaneJWTSupplier) A JWT supplier for control plane authorisation.The host of the MockServer to communicate with.MockServerClient.Builder.port(int port) The port of the MockServer to communicate with.MockServerClient.Builder.portFuture(CompletableFuture<Integer> portFuture) Resolve the port lazily from aCompletableFuture, for use when the MockServer port is not yet known at client-construction time.MockServerClient.Builder.proxyConfiguration(ProxyConfiguration proxyConfiguration) Route communication to MockServer via a proxy.MockServerClient.Builder.requestOverride(HttpRequest requestOverride) A request override applied to every control plane request.MockServerClient.Builder.secure(boolean secure) Whether to communicate with MockServer over TLS.