public abstract class AbstractMockingIntegrationTestBase extends Object
Modifier and Type | Field and Description |
---|---|
protected static List<String> |
headersToIgnore |
protected static MockServerClient |
mockServerClient |
protected static String |
servletContext |
Constructor and Description |
---|
AbstractMockingIntegrationTestBase() |
Modifier and Type | Method and Description |
---|---|
protected String |
calculatePath(String path) |
abstract int |
getEchoServerPort() |
abstract int |
getServerPort() |
int |
getServerSecurePort() |
protected HttpResponse |
makeRequest(HttpRequest httpRequest,
Collection<String> headersToIgnore) |
void |
resetServer() |
static void |
resetServletContext() |
protected void |
verifyRequestsMatches(HttpRequest[] httpRequests,
HttpRequest... httpRequestMatchers) |
protected static MockServerClient mockServerClient
protected static String servletContext
public static void resetServletContext()
public abstract int getServerPort()
public int getServerSecurePort()
public abstract int getEchoServerPort()
public void resetServer()
protected void verifyRequestsMatches(HttpRequest[] httpRequests, HttpRequest... httpRequestMatchers)
protected HttpResponse makeRequest(HttpRequest httpRequest, Collection<String> headersToIgnore)
Copyright © 2018. All rights reserved.