public abstract class AbstractMockingIntegrationTestBase extends Object
Modifier and Type | Field and Description |
---|---|
protected static List<String> |
headersToIgnore |
protected static EchoServer |
insecureEchoServer |
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() |
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(HttpRequest[] httpRequests,
HttpRequest... httpRequestMatchers) |
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(HttpRequest[] httpRequests, HttpRequest... httpRequestMatchers)
protected HttpResponse makeRequest(HttpRequest httpRequest, Collection<String> headersToIgnore)
Copyright © 2020. All rights reserved.