com.github.tomakehurst.wiremock.client
Class HttpAdminClient
java.lang.Object
com.github.tomakehurst.wiremock.client.HttpAdminClient
- All Implemented Interfaces:
- AdminClient
public class HttpAdminClient
- extends java.lang.Object
- implements AdminClient
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpAdminClient
public HttpAdminClient(java.lang.String host,
int port,
java.lang.String urlPathPrefix)
HttpAdminClient
public HttpAdminClient(java.lang.String host,
int port)
addResponse
public void addResponse(java.lang.String responseSpecJson)
- Specified by:
addResponse in interface AdminClient
resetMappings
public void resetMappings()
- Specified by:
resetMappings in interface AdminClient
resetScenarios
public void resetScenarios()
- Specified by:
resetScenarios in interface AdminClient
getRequestsMatching
public int getRequestsMatching(RequestPattern requestPattern)
- Specified by:
getRequestsMatching in interface AdminClient
updateGlobalSettings
public void updateGlobalSettings(GlobalSettings settings)
- Specified by:
updateGlobalSettings in interface AdminClient