public interface MockServer
Modifier and Type | Method and Description |
---|---|
void |
addMockRunListener(MockRunListener listener) |
MockDispatcher |
createDispatcher(WsdlMockRunContext mockContext) |
boolean |
getBindToHostOnly() |
String |
getHost() |
String |
getLocalEndpoint() |
MockRunListener[] |
getMockRunListeners() |
MockRunner |
getMockRunner() |
String |
getPath() |
int |
getPort() |
void |
removeMockRunListener(MockRunListener listener) |
void |
setPath(String path) |
void |
setPort(int i) |
MockRunner |
start() |
void |
startIfConfigured()
Start this mock service if HttpSetting.START_MOCK_SERVICE is true.
|
String getPath()
void setPath(String path)
int getPort()
void setPort(int i)
MockRunner getMockRunner()
MockRunner start() throws Exception
Exception
void startIfConfigured() throws Exception
Exception
- if the start fails for some reason. One case may be that the port is occupied already.boolean getBindToHostOnly()
String getLocalEndpoint()
MockDispatcher createDispatcher(WsdlMockRunContext mockContext)
String getHost()
void addMockRunListener(MockRunListener listener)
void removeMockRunListener(MockRunListener listener)
MockRunListener[] getMockRunListeners()
Copyright © 2019. All Rights Reserved.