Package | Description |
---|---|
org.mockserver.client | |
org.mockserver.configuration |
Constructor and Description |
---|
MockServerClient(ClientConfiguration configuration,
CompletableFuture<Integer> portFuture)
Start the client communicating to a MockServer on localhost at the port
specified with the Future
|
MockServerClient(ClientConfiguration configuration,
String host,
int port)
Start the client communicating to a MockServer at the specified host and port
for example:
|
MockServerClient(ClientConfiguration configuration,
String host,
int port,
String contextPath)
Start the client communicating to a MockServer at the specified host and port
and contextPath for example:
|
Modifier and Type | Method and Description |
---|---|
static ClientConfiguration |
ClientConfiguration.clientConfiguration() |
static ClientConfiguration |
ClientConfiguration.clientConfiguration(Configuration configuration) |
ClientConfiguration |
ClientConfiguration.clientNioEventLoopThreadCount(Integer clientNioEventLoopThreadCount)
Client Netty worker thread pool size for handling requests and response.
|
ClientConfiguration |
ClientConfiguration.controlPlaneJWTAuthenticationJWKSource(String controlPlaneJWTAuthenticationJWKSource) |
ClientConfiguration |
ClientConfiguration.controlPlaneJWTAuthenticationRequired(Boolean controlPlaneJWTAuthenticationRequired) |
ClientConfiguration |
ClientConfiguration.controlPlanePrivateKeyPath(String controlPlanePrivateKeyPath) |
ClientConfiguration |
ClientConfiguration.controlPlaneTLSMutualAuthenticationCAChain(String controlPlaneTLSMutualAuthenticationCAChain) |
ClientConfiguration |
ClientConfiguration.controlPlaneTLSMutualAuthenticationRequired(Boolean controlPlaneTLSMutualAuthenticationRequired) |
ClientConfiguration |
ClientConfiguration.controlPlaneX509CertificatePath(String controlPlaneX509CertificatePath) |
ClientConfiguration |
ClientConfiguration.maxFutureTimeoutInMillis(Long maxFutureTimeoutInMillis)
Maximum time allowed in milliseconds for any future to wait, for example when waiting for a response over a web socket callback.
|
ClientConfiguration |
ClientConfiguration.maxSocketTimeoutInMillis(Long maxSocketTimeoutInMillis)
Maximum time in milliseconds allowed for a response from a socket
|
ClientConfiguration |
ClientConfiguration.maxWebSocketExpectations(Integer maxWebSocketExpectations)
Maximum number of remote (not the same JVM) method callbacks (i.e.
|
ClientConfiguration |
ClientConfiguration.webSocketClientEventLoopThreadCount(Integer webSocketClientEventLoopThreadCount)
Client Netty worker thread pool size for handling requests and response.
|
Copyright © 2022. All rights reserved.