public class MockProxyServer
extends org.junit.rules.ExternalResource
| Modifier and Type | Class and Description |
|---|---|
static class |
MockProxyServer.Builder |
| Modifier and Type | Field and Description |
|---|---|
static String |
PROXY_HOST |
| Modifier | Constructor and Description |
|---|---|
protected |
MockProxyServer(int port,
Duration connectionTimeout,
Iterable<MockServerResponse> expectedServerResponses) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
after() |
protected void |
before() |
static MockProxyServer.Builder |
builder() |
static MockProxyServer.Builder |
builder(MockProxyServer data) |
Duration |
getConnectionTimeout() |
Set<MockServerResponse> |
getExpectedServerResponses() |
int |
getPort() |
org.mockserver.integration.ClientAndServer |
getServer() |
public static final String PROXY_HOST
protected MockProxyServer(int port,
Duration connectionTimeout,
Iterable<MockServerResponse> expectedServerResponses)
public int getPort()
public org.mockserver.integration.ClientAndServer getServer()
public Duration getConnectionTimeout()
public Set<MockServerResponse> getExpectedServerResponses()
public static MockProxyServer.Builder builder()
public static MockProxyServer.Builder builder(MockProxyServer data)
protected void before()
throws Throwable
before in class org.junit.rules.ExternalResourceThrowableprotected void after()
after in class org.junit.rules.ExternalResourceCopyright © 2023 Atlassian. All rights reserved.