public abstract class AbstractMockingIntegrationTestBase extends Object
Modifier and Type | Field and Description |
---|---|
static List<String> |
HEADERS_TO_IGNORE |
protected static EchoServer |
insecureEchoServer |
protected static MockServerLogger |
MOCK_SERVER_LOGGER |
protected static MockServerClient |
mockServerClient |
protected static EchoServer |
secureEchoServer |
protected static String |
servletContext |
Constructor and Description |
---|
AbstractMockingIntegrationTestBase() |
Modifier and Type | Method and Description |
---|---|
protected String |
calculatePath(String path) |
static void |
createClientAndEventLoopGroup() |
static Headers |
filterHeaders(Collection<String> headersToIgnore,
List<Header> headerList) |
abstract int |
getServerPort() |
int |
getServerSecurePort() |
protected HttpResponse |
makeRequest(HttpRequest httpRequest,
Collection<String> headersToIgnore) |
void |
resetServer() |
static void |
resetServletContext() |
static void |
startEchoServer() |
static void |
stopEventLoopGroup() |
protected void |
verifyRequestsMatches(RequestDefinition[] requestDefinitions,
HttpRequest... httpRequestMatchers) |
protected static final MockServerLogger MOCK_SERVER_LOGGER
protected static MockServerClient mockServerClient
protected static String servletContext
protected static EchoServer insecureEchoServer
protected static EchoServer secureEchoServer
public static void startEchoServer()
public static void resetServletContext()
public abstract int getServerPort()
public int getServerSecurePort()
public void resetServer()
public static void createClientAndEventLoopGroup()
public static void stopEventLoopGroup()
protected void verifyRequestsMatches(RequestDefinition[] requestDefinitions, HttpRequest... httpRequestMatchers)
protected HttpResponse makeRequest(HttpRequest httpRequest, Collection<String> headersToIgnore)
public static Headers filterHeaders(Collection<String> headersToIgnore, List<Header> headerList)
Copyright © 2022. All rights reserved.